ports/opt (3.2): appdirs: initial import
commit 17962ad55d53c9d3aa26105eb32d801464e99a12 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Feb 4 01:15:10 2017 +1100 appdirs: initial import diff --git a/appdirs/.footprint b/appdirs/.footprint new file mode 100644 index 0000000..dcf9252 --- /dev/null +++ b/appdirs/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python2.7/ +drwxr-xr-x root/root usr/lib/python2.7/site-packages/ +drwxr-xr-x root/root usr/lib/python2.7/site-packages/appdirs-1.4.0-py2.7.egg-info/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs-1.4.0-py2.7.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs-1.4.0-py2.7.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs-1.4.0-py2.7.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs-1.4.0-py2.7.egg-info/top_level.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/appdirs.pyo diff --git a/appdirs/.md5sum b/appdirs/.md5sum new file mode 100644 index 0000000..b3694d8 --- /dev/null +++ b/appdirs/.md5sum @@ -0,0 +1,2 @@ +1d17b4c9694ab84794e228f28dc3275b appdirs-1.4.0.tar.gz +3b74f5cd0740a05802a23b019ce579a3 get-pip.py diff --git a/appdirs/Pkgfile b/appdirs/Pkgfile new file mode 100644 index 0000000..840f661 --- /dev/null +++ b/appdirs/Pkgfile @@ -0,0 +1,33 @@ +# Description: A Python module for determining appropriate platform-specific dirs. +# URL: https://pypi.python.org/pypi/packaging/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Packager: Danny Rawlins, crux at romster dot me +# Depends on: python + +name=appdirs +version=1.4.0 +release=1 +source=(https://pypi.python.org/packages/bd/66/0a7f48a0f3fb1d3a4072bceb5bbd78b1a6de4... + https://bootstrap.pypa.io/get-pip.py) + +build() { + cd $name-$version + + if [ -z "$(pkginfo -i | egrep '^setuptools ')" ]; then + install -d build + /usr/bin/python $SRC/get-pip.py --root=$SRC/build + + PYTHONPATH=$SRC/build/usr/lib/python2.7/site-packages \ + /usr/bin/python setup.py build + + PYTHONPATH=$SRC/build/usr/lib/python2.7/site-packages \ + /usr/bin/python setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 + else + + /usr/bin/python setup.py build + + /usr/bin/python setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 + fi +}
participants (1)
-
crux@crux.nu