ports/opt (3.2): packaging: initial import
commit 30f89e8ae34c59c3f4067703f3186ca99f15f192 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Feb 4 01:26:00 2017 +1100 packaging: initial import diff --git a/packaging/.footprint b/packaging/.footprint new file mode 100644 index 0000000..d7ba480 --- /dev/null +++ b/packaging/.footprint @@ -0,0 +1,38 @@ +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/packaging-16.8-py2.7.egg-info/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging-16.8-py2.7.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging-16.8-py2.7.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging-16.8-py2.7.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging-16.8-py2.7.egg-info/requires.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging-16.8-py2.7.egg-info/top_level.txt +drwxr-xr-x root/root usr/lib/python2.7/site-packages/packaging/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/__about__.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/__about__.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/__about__.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/__init__.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/__init__.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/__init__.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/_compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/_compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/_compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/_structures.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/_structures.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/_structures.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/markers.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/markers.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/markers.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/requirements.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/requirements.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/requirements.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/specifiers.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/specifiers.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/specifiers.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/utils.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/utils.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/utils.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/version.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/version.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/packaging/version.pyo diff --git a/packaging/.md5sum b/packaging/.md5sum new file mode 100644 index 0000000..3e4c854 --- /dev/null +++ b/packaging/.md5sum @@ -0,0 +1,2 @@ +3b74f5cd0740a05802a23b019ce579a3 get-pip.py +53895cdca04ecff80b54128e475b5d3b packaging-16.8.tar.gz diff --git a/packaging/Pkgfile b/packaging/Pkgfile new file mode 100644 index 0000000..ba608aa --- /dev/null +++ b/packaging/Pkgfile @@ -0,0 +1,33 @@ +# Description: Core utilities for Python packages. +# 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: pyparsing six + +name=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 [ -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