commit e4f5acafd089806146ea65a2662e9b2a98556ed2 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Feb 5 18:26:33 2017 +1100 [notify] setuptools changed to python-setuptools please see prt-get readme python-setuptools diff --git a/.footprint b/.footprint new file mode 100644 index 0000000..5327e8e --- /dev/null +++ b/.footprint @@ -0,0 +1,173 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/easy_install +-rwxr-xr-x root/root usr/bin/easy_install-2.7 +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/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/easy_install.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/easy_install.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/easy_install.pyo +drwxr-xr-x root/root usr/lib/python2.7/site-packages/pkg_resources/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/pkg_resources/__init__.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/pkg_resources/__init__.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/pkg_resources/__init__.pyo +drwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/entry_points.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/requires.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/top_level.txt +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools-34.1.1-py2.7.egg-info/zip-safe +drwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/__init__.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/__init__.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/__init__.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/archive_util.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/archive_util.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/archive_util.pyo +drwxr-xr-x root/root usr/lib/python2.7/site-packages/setuptools/command/ +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/__init__.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/__init__.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/__init__.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/alias.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/alias.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/alias.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_egg.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_rpm.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_rpm.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_rpm.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_wininst.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_wininst.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/bdist_wininst.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_clib.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_clib.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_clib.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_ext.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_ext.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_ext.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_py.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_py.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/build_py.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/develop.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/develop.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/develop.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/easy_install.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/easy_install.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/easy_install.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/egg_info.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/egg_info.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/egg_info.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_lib.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_lib.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_scripts.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/install_scripts.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/py36compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/py36compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/register.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/register.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/register.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/rotate.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/rotate.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/rotate.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/saveopts.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/saveopts.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/saveopts.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/sdist.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/sdist.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/sdist.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/setopt.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/setopt.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/setopt.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/test.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/test.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/test.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/upload.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/upload.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/upload.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/upload_docs.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/upload_docs.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/command/upload_docs.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/config.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/config.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/config.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dep_util.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dep_util.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dep_util.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/depends.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/depends.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/depends.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dist.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dist.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/dist.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/extension.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/extension.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/extension.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/glob.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/glob.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/glob.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/launch.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/launch.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/launch.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/monkey.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/monkey.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/monkey.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/msvc.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/msvc.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/msvc.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/namespaces.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/namespaces.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/namespaces.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/package_index.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/package_index.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/package_index.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py26compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py26compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py26compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py27compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py27compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py27compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py31compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py31compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py31compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py33compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py33compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py33compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py36compat.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py36compat.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/py36compat.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/sandbox.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/sandbox.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/sandbox.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/script (dev).tmpl +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/script.tmpl +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/site-patch.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/site-patch.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/site-patch.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/ssl_support.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/ssl_support.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/ssl_support.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/unicode_utils.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/unicode_utils.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/unicode_utils.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/version.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/version.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/version.pyo +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/windows_support.py +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/windows_support.pyc +-rw-r--r-- root/root usr/lib/python2.7/site-packages/setuptools/windows_support.pyo diff --git a/.md5sum b/.md5sum new file mode 100644 index 0000000..27fc449 --- /dev/null +++ b/.md5sum @@ -0,0 +1,2 @@ +3b74f5cd0740a05802a23b019ce579a3 get-pip.py +a5582186dfd61820e6edc3aecde6f93c setuptools-34.1.1.zip diff --git a/Pkgfile b/Pkgfile new file mode 100644 index 0000000..5b73e00 --- /dev/null +++ b/Pkgfile @@ -0,0 +1,43 @@ +# Description: Easily download, build, install, upgrade, and uninstall Python packages. +# URL: https://pypi.python.org/pypi/setuptools +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python-appdirs python-packaging python-pip + +name=python-setuptools +version=34.1.1 +release=1 +#source=(https://github.com/pypa/setuptools/archive/v$version.tar.gz) +source=(https://pypi.python.org/packages/e2/51/3ea582a6d64dcd36858a10de31d43ca8ea0a3... + https://bootstrap.pypa.io/get-pip.py) + +build() { + cd ${name#*-}-$version + + export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0 + + 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 + + local PYTHONVERSION=$(/usr/bin/python -c 'import sys; print("%s.%s" % sys.version_info[:2])') + + PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \ + /usr/bin/python bootstrap.py + + PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \ + /usr/bin/python setup.py build + + PYTHONPATH=$SRC/build/usr/lib/python$PYTHONVERSION/site-packages \ + /usr/bin/python setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 + else + + /usr/bin/python bootstrap.py + /usr/bin/python setup.py build + + /usr/bin/python setup.py install \ + --prefix=/usr --root=$PKG --optimize=1 + fi + + unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES +} diff --git a/README b/README new file mode 100644 index 0000000..c2fd4b1 --- /dev/null +++ b/README @@ -0,0 +1,10 @@ +NOTES: + +setuptools has been renamed to python-setuptools in crux 3.3 only. + +prt-get remove appdirs pyparsing six pip packaging setuptools +prt-get depinst python-setuptools + +No other changes should be necessary, ports in contrib and opt affected by +this change have had there dependences changed to python-setuptools. Any third +party ports trees should update there ports to reflect this.