diff --git a/packaging/.footprint b/python-packaging/.footprint similarity index 100% rename from packaging/.footprint rename to python-packaging/.footprint diff --git a/packaging/.md5sum b/python-packaging/.md5sum similarity index 100% rename from packaging/.md5sum rename to python-packaging/.md5sum diff --git a/packaging/Pkgfile b/python-packaging/Pkgfile similarity index 82% rename from packaging/Pkgfile rename to python-packaging/Pkgfile index 2cba09264..ca1a72ac1 100644 --- a/packaging/Pkgfile +++ b/python-packaging/Pkgfile @@ -1,18 +1,18 @@ # Description: Core utilities for Python packages. # URL: https://pypi.python.org/pypi/packaging/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: pyparsing six +# Depends on: python-pyparsing python-six -name=packaging +name=python-packaging version=16.8 release=1 source=(https://pypi.python.org/packages/c6/70/bb32913de251017e266c5114d0a645f262fb10ebc9bf6de894966d124e35/packaging-$version.tar.gz https://bootstrap.pypa.io/get-pip.py) build() { - cd $name-$version + cd ${name#*-}-$version - if [ "$(pkginfo -i | egrep -c '^(setuptools|appdirs|pyparsing|six|pip|packaging) ')" != 6 ]; then + if [ "$(pkginfo -i | egrep -c '^python-(setuptools|appdirs|pyparsing|six|pip|packaging) ')" != 6 ]; then install -d build /usr/bin/python $SRC/get-pip.py --root=$SRC/build