ports/opt (3.2): python3-packaging: initial import
commit 11bc8df91bb6fdd32c264aa5c942553914eb9940 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Feb 4 17:53:09 2017 +1100 python3-packaging: initial import diff --git a/python3-packaging/.footprint b/python3-packaging/.footprint new file mode 100644 index 0000000..b9c1bae --- /dev/null +++ b/python3-packaging/.footprint @@ -0,0 +1,39 @@ +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/packaging-16.8-py3.6.egg-info/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging-16.8-py3.6.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging-16.8-py3.6.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging-16.8-py3.6.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging-16.8-py3.6.egg-info/requires.txt +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging-16.8-py3.6.egg-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.6/site-packages/packaging/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__about__.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__init__.py +drwxr-xr-x root/root usr/lib/python3.6/site-packages/packaging/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/__about__.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/__about__.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/__init__.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/__init__.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/_compat.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/_compat.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/_structures.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/_structures.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/markers.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/markers.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/requirements.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/requirements.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/specifiers.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/specifiers.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/utils.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/utils.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/version.cpython-36.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/__pycache__/version.cpython-36.pyc +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/_compat.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/_structures.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/markers.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/requirements.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/specifiers.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/utils.py +-rw-r--r-- root/root usr/lib/python3.6/site-packages/packaging/version.py diff --git a/python3-packaging/.md5sum b/python3-packaging/.md5sum new file mode 100644 index 0000000..3e4c854 --- /dev/null +++ b/python3-packaging/.md5sum @@ -0,0 +1,2 @@ +3b74f5cd0740a05802a23b019ce579a3 get-pip.py +53895cdca04ecff80b54128e475b5d3b packaging-16.8.tar.gz diff --git a/python3-packaging/Pkgfile b/python3-packaging/Pkgfile new file mode 100644 index 0000000..f2ed8e0 --- /dev/null +++ b/python3-packaging/Pkgfile @@ -0,0 +1,34 @@ +# Description: Core utilities for Python packages. +# URL: https://pypi.python.org/pypi/packaging/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python3-pyparsing python3-six + +name=python3-packaging +version=16.8 +release=1 +source=(https://pypi.python.org/packages/c6/70/bb32913de251017e266c5114d0a645f262fb1... + 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=$(/usr/bin/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