ports/opt (3.2): python3-appdirs: initial import
commit 85d3f31806f921e8be76059d9d999109f30697bc Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Feb 4 17:49:31 2017 +1100 python3-appdirs: initial import diff --git a/python3-appdirs/.footprint b/python3-appdirs/.footprint new file mode 100644 index 0000000..d3de744 --- /dev/null +++ b/python3-appdirs/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.6/ +drwxr-xr-x root/root usr/lib/python3.6/site-packages/ +drwxr-xr-x root/root usr/lib/python3.6/site-packages/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/__pycache__/appdirs.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/__pycache__/appdirs.cpython-36.pyc +drwxr-xr-x root/root usr/lib/python3.6/site-packages/appdirs-1.4.0-py3.6.egg-info/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/appdirs-1.4.0-py3.6.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.6/site-packages/appdirs-1.4.0-py3.6.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/appdirs-1.4.0-py3.6.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/appdirs-1.4.0-py3.6.egg-info/top_level.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/appdirs.py diff --git a/python3-appdirs/.md5sum b/python3-appdirs/.md5sum new file mode 100644 index 0000000..b3694d8 --- /dev/null +++ b/python3-appdirs/.md5sum @@ -0,0 +1,2 @@ +1d17b4c9694ab84794e228f28dc3275b appdirs-1.4.0.tar.gz +3b74f5cd0740a05802a23b019ce579a3 get-pip.py diff --git a/python3-appdirs/Pkgfile b/python3-appdirs/Pkgfile new file mode 100644 index 0000000..7d6be6f --- /dev/null +++ b/python3-appdirs/Pkgfile @@ -0,0 +1,34 @@ +# 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 +# Depends on: python3 + +name=python3-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 [ "$(pkginfo -i | egrep -c '^python3-(setuptools|appdirs|pyparsing|six|pip|packaging) ')" != 6 ]; then + install -d build + /usr/bin/python3 $SRC/get-pip.py --root=$SRC/build + + local PYTHONVERSION=$(python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') + + PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \ + /usr/bin/python3 setup.py build + + PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \ + /usr/bin/python3 setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 + else + + /usr/bin/python3 setup.py build + + /usr/bin/python3 setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 + fi +}
participants (1)
-
crux@crux.nu