From 3aef9596e13fac0df8cd1617327efb9808a29629 Mon Sep 17 00:00:00 2001 From: pettai Date: Mon, 23 Jan 2012 21:39:32 +0000 Subject: pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well. pip is meant to improve on easy_install. Some of the improvements: * All packages are downloaded before installation. Partially-completed installation doesn't occur as a result. * Care is taken to present useful output on the console. * The reasons for actions are kept track of. For instance, if a package is being installed, pip keeps track of why that package was required. * Error messages should be useful. * The code is relatively concise and cohesive, making it easier to use programmatically. * Packages don't have to be installed as egg archives, they can be installed flat (while keeping the egg metadata). * Native support for other version control systems (Git, Mercurial and Bazaar) * Uninstallation of packages. * Simple to define fixed sets of requirements and reliably reproduce a set of packages. --- devel/py-pip/DESCR | 21 +++++++++++ devel/py-pip/Makefile | 25 ++++++++++++++ devel/py-pip/PLIST | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++ devel/py-pip/distinfo | 5 +++ 4 files changed, 147 insertions(+) create mode 100644 devel/py-pip/DESCR create mode 100644 devel/py-pip/Makefile create mode 100644 devel/py-pip/PLIST create mode 100644 devel/py-pip/distinfo diff --git a/devel/py-pip/DESCR b/devel/py-pip/DESCR new file mode 100644 index 00000000000..74854e69119 --- /dev/null +++ b/devel/py-pip/DESCR @@ -0,0 +1,21 @@ +pip is a replacement for easy_install. It uses mostly the same +techniques for finding packages, so packages that were made +easy_installable should be pip-installable as well. + +pip is meant to improve on easy_install. Some of the improvements: + * All packages are downloaded before installation. +Partially-completed installation doesn't occur as a result. + * Care is taken to present useful output on the console. + * The reasons for actions are kept track of. For instance, if +a package is being installed, pip keeps track of why that package +was required. + * Error messages should be useful. + * The code is relatively concise and cohesive, making it easier +to use programmatically. + * Packages don't have to be installed as egg archives, they can +be installed flat (while keeping the egg metadata). + * Native support for other version control systems (Git, Mercurial +and Bazaar) + * Uninstallation of packages. + * Simple to define fixed sets of requirements and reliably +reproduce a set of packages. diff --git a/devel/py-pip/Makefile b/devel/py-pip/Makefile new file mode 100644 index 00000000000..41f2279f231 --- /dev/null +++ b/devel/py-pip/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/01/23 21:39:32 pettai Exp $ +# + +DISTNAME= pip-1.0.2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= http://pypi.python.org/packages/source/p/pip/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.pip-installer.org/ +COMMENT= Installs Python packages as an easy_install replacement +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c9:../../devel/py-setuptools + +REPLACE_PYTHON= ${WRKSRC}/*.py + +PKG_DESTDIR_SUPPORT= user-destdir + +PLIST_SUBST+= PYVERSSUFFIX="${PYVERSSUFFIX}" + +PYDISTUTILSPKG= yes + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-pip/PLIST b/devel/py-pip/PLIST new file mode 100644 index 00000000000..f2f181e3aab --- /dev/null +++ b/devel/py-pip/PLIST @@ -0,0 +1,96 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/23 21:39:32 pettai Exp $ +bin/pip +bin/pip-${PYVERSSUFFIX} +${PYSITELIB}/pip-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO +${PYSITELIB}/pip-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt +${PYSITELIB}/pip-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt +${PYSITELIB}/pip-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/entry_points.txt +${PYSITELIB}/pip-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/not-zip-safe +${PYSITELIB}/pip-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt +${PYSITELIB}/pip/__init__.py +${PYSITELIB}/pip/__init__.pyc +${PYSITELIB}/pip/__init__.pyo +${PYSITELIB}/pip/_pkgutil.py +${PYSITELIB}/pip/_pkgutil.pyc +${PYSITELIB}/pip/_pkgutil.pyo +${PYSITELIB}/pip/backwardcompat.py +${PYSITELIB}/pip/backwardcompat.pyc +${PYSITELIB}/pip/backwardcompat.pyo +${PYSITELIB}/pip/basecommand.py +${PYSITELIB}/pip/basecommand.pyc +${PYSITELIB}/pip/basecommand.pyo +${PYSITELIB}/pip/baseparser.py +${PYSITELIB}/pip/baseparser.pyc +${PYSITELIB}/pip/baseparser.pyo +${PYSITELIB}/pip/commands/__init__.py +${PYSITELIB}/pip/commands/__init__.pyc +${PYSITELIB}/pip/commands/__init__.pyo +${PYSITELIB}/pip/commands/bundle.py +${PYSITELIB}/pip/commands/bundle.pyc +${PYSITELIB}/pip/commands/bundle.pyo +${PYSITELIB}/pip/commands/completion.py +${PYSITELIB}/pip/commands/completion.pyc +${PYSITELIB}/pip/commands/completion.pyo +${PYSITELIB}/pip/commands/freeze.py +${PYSITELIB}/pip/commands/freeze.pyc +${PYSITELIB}/pip/commands/freeze.pyo +${PYSITELIB}/pip/commands/help.py +${PYSITELIB}/pip/commands/help.pyc +${PYSITELIB}/pip/commands/help.pyo +${PYSITELIB}/pip/commands/install.py +${PYSITELIB}/pip/commands/install.pyc +${PYSITELIB}/pip/commands/install.pyo +${PYSITELIB}/pip/commands/search.py +${PYSITELIB}/pip/commands/search.pyc +${PYSITELIB}/pip/commands/search.pyo +${PYSITELIB}/pip/commands/uninstall.py +${PYSITELIB}/pip/commands/uninstall.pyc +${PYSITELIB}/pip/commands/uninstall.pyo +${PYSITELIB}/pip/commands/unzip.py +${PYSITELIB}/pip/commands/unzip.pyc +${PYSITELIB}/pip/commands/unzip.pyo +${PYSITELIB}/pip/commands/zip.py +${PYSITELIB}/pip/commands/zip.pyc +${PYSITELIB}/pip/commands/zip.pyo +${PYSITELIB}/pip/download.py +${PYSITELIB}/pip/download.pyc +${PYSITELIB}/pip/download.pyo +${PYSITELIB}/pip/exceptions.py +${PYSITELIB}/pip/exceptions.pyc +${PYSITELIB}/pip/exceptions.pyo +${PYSITELIB}/pip/index.py +${PYSITELIB}/pip/index.pyc +${PYSITELIB}/pip/index.pyo +${PYSITELIB}/pip/locations.py +${PYSITELIB}/pip/locations.pyc +${PYSITELIB}/pip/locations.pyo +${PYSITELIB}/pip/log.py +${PYSITELIB}/pip/log.pyc +${PYSITELIB}/pip/log.pyo +${PYSITELIB}/pip/req.py +${PYSITELIB}/pip/req.pyc +${PYSITELIB}/pip/req.pyo +${PYSITELIB}/pip/runner.py +${PYSITELIB}/pip/runner.pyc +${PYSITELIB}/pip/runner.pyo +${PYSITELIB}/pip/util.py +${PYSITELIB}/pip/util.pyc +${PYSITELIB}/pip/util.pyo +${PYSITELIB}/pip/vcs/__init__.py +${PYSITELIB}/pip/vcs/__init__.pyc +${PYSITELIB}/pip/vcs/__init__.pyo +${PYSITELIB}/pip/vcs/bazaar.py +${PYSITELIB}/pip/vcs/bazaar.pyc +${PYSITELIB}/pip/vcs/bazaar.pyo +${PYSITELIB}/pip/vcs/git.py +${PYSITELIB}/pip/vcs/git.pyc +${PYSITELIB}/pip/vcs/git.pyo +${PYSITELIB}/pip/vcs/mercurial.py +${PYSITELIB}/pip/vcs/mercurial.pyc +${PYSITELIB}/pip/vcs/mercurial.pyo +${PYSITELIB}/pip/vcs/subversion.py +${PYSITELIB}/pip/vcs/subversion.pyc +${PYSITELIB}/pip/vcs/subversion.pyo +${PYSITELIB}/pip/venv.py +${PYSITELIB}/pip/venv.pyc +${PYSITELIB}/pip/venv.pyo diff --git a/devel/py-pip/distinfo b/devel/py-pip/distinfo new file mode 100644 index 00000000000..6caa64a9520 --- /dev/null +++ b/devel/py-pip/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/01/23 21:39:32 pettai Exp $ + +SHA1 (pip-1.0.2.tar.gz) = bb137ac723389651e6cf56c0c95af0a6547443b6 +RMD160 (pip-1.0.2.tar.gz) = 2a398d35c63f62194528aa16ce989ce532f6b895 +Size (pip-1.0.2.tar.gz) = 105820 bytes -- cgit v1.2.3