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.
This commit is contained in:
parent
898aa475ef
commit
3aef9596e1
4 changed files with 147 additions and 0 deletions
21
devel/py-pip/DESCR
Normal file
21
devel/py-pip/DESCR
Normal file
|
@ -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.
|
25
devel/py-pip/Makefile
Normal file
25
devel/py-pip/Makefile
Normal file
|
@ -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"
|
96
devel/py-pip/PLIST
Normal file
96
devel/py-pip/PLIST
Normal file
|
@ -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
|
5
devel/py-pip/distinfo
Normal file
5
devel/py-pip/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue