pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-pip-api devel/py-pip-api: import py-pip-api-0...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bf53d0fe7736
branches: trunk
changeset: 769585:bf53d0fe7736
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 16 16:03:12 2021 +0000
description:
devel/py-pip-api: import py-pip-api-0.0.23
Since pip is a command-line-tool, it does not have an official,
supported, importable API.
However, this does not mean that people haven't tried to import
pip, usually to end up with much headache when pip's maintainers
do routine refactoring.
This project attempts to provide an importable pip API, which is
fully compliant with the recommended method of using pip from your
program.
diffstat:
devel/py-pip-api/DESCR | 10 ++++++
devel/py-pip-api/Makefile | 29 +++++++++++++++++++
devel/py-pip-api/PLIST | 70 +++++++++++++++++++++++++++++++++++++++++++++++
devel/py-pip-api/distinfo | 5 +++
4 files changed, 114 insertions(+), 0 deletions(-)
diffs (130 lines):
diff -r 3b132946024d -r bf53d0fe7736 devel/py-pip-api/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pip-api/DESCR Tue Nov 16 16:03:12 2021 +0000
@@ -0,0 +1,10 @@
+Since pip is a command-line-tool, it does not have an official,
+supported, importable API.
+
+However, this does not mean that people haven't tried to import
+pip, usually to end up with much headache when pip's maintainers
+do routine refactoring.
+
+This project attempts to provide an importable pip API, which is
+fully compliant with the recommended method of using pip from your
+program.
diff -r 3b132946024d -r bf53d0fe7736 devel/py-pip-api/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pip-api/Makefile Tue Nov 16 16:03:12 2021 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/11/16 16:03:12 wiz Exp $
+
+DISTNAME= pip-api-0.0.23
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip-api/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/pip-audit/
+COMMENT= Unofficial, importable pip API
+LICENSE= apache-2.0
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
+TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONED_DEPENDENCIES+= pip
+
+# does not fully work, needs pip-api installed first
+# if this is done, as of 0.0.23:
+# 27 passed, 5 warnings, 15 errors
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3b132946024d -r bf53d0fe7736 devel/py-pip-api/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pip-api/PLIST Tue Nov 16 16:03:12 2021 +0000
@@ -0,0 +1,70 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/16 16:03:12 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pip_api/__init__.py
+${PYSITELIB}/pip_api/__init__.pyc
+${PYSITELIB}/pip_api/__init__.pyo
+${PYSITELIB}/pip_api/_call.py
+${PYSITELIB}/pip_api/_call.pyc
+${PYSITELIB}/pip_api/_call.pyo
+${PYSITELIB}/pip_api/_hash.py
+${PYSITELIB}/pip_api/_hash.pyc
+${PYSITELIB}/pip_api/_hash.pyo
+${PYSITELIB}/pip_api/_installed_distributions.py
+${PYSITELIB}/pip_api/_installed_distributions.pyc
+${PYSITELIB}/pip_api/_installed_distributions.pyo
+${PYSITELIB}/pip_api/_parse_requirements.py
+${PYSITELIB}/pip_api/_parse_requirements.pyc
+${PYSITELIB}/pip_api/_parse_requirements.pyo
+${PYSITELIB}/pip_api/_pep650.py
+${PYSITELIB}/pip_api/_pep650.pyc
+${PYSITELIB}/pip_api/_pep650.pyo
+${PYSITELIB}/pip_api/_vendor/__init__.py
+${PYSITELIB}/pip_api/_vendor/__init__.pyc
+${PYSITELIB}/pip_api/_vendor/__init__.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/__about__.py
+${PYSITELIB}/pip_api/_vendor/packaging/__about__.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/__about__.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/__init__.py
+${PYSITELIB}/pip_api/_vendor/packaging/__init__.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/__init__.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/_manylinux.py
+${PYSITELIB}/pip_api/_vendor/packaging/_manylinux.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/_manylinux.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/_musllinux.py
+${PYSITELIB}/pip_api/_vendor/packaging/_musllinux.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/_musllinux.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/_structures.py
+${PYSITELIB}/pip_api/_vendor/packaging/_structures.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/_structures.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/markers.py
+${PYSITELIB}/pip_api/_vendor/packaging/markers.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/markers.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/requirements.py
+${PYSITELIB}/pip_api/_vendor/packaging/requirements.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/requirements.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/specifiers.py
+${PYSITELIB}/pip_api/_vendor/packaging/specifiers.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/specifiers.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/tags.py
+${PYSITELIB}/pip_api/_vendor/packaging/tags.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/tags.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/utils.py
+${PYSITELIB}/pip_api/_vendor/packaging/utils.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/utils.pyo
+${PYSITELIB}/pip_api/_vendor/packaging/version.py
+${PYSITELIB}/pip_api/_vendor/packaging/version.pyc
+${PYSITELIB}/pip_api/_vendor/packaging/version.pyo
+${PYSITELIB}/pip_api/_vendor/pyparsing.py
+${PYSITELIB}/pip_api/_vendor/pyparsing.pyc
+${PYSITELIB}/pip_api/_vendor/pyparsing.pyo
+${PYSITELIB}/pip_api/_version.py
+${PYSITELIB}/pip_api/_version.pyc
+${PYSITELIB}/pip_api/_version.pyo
+${PYSITELIB}/pip_api/exceptions.py
+${PYSITELIB}/pip_api/exceptions.pyc
+${PYSITELIB}/pip_api/exceptions.pyo
+${PYSITELIB}/pip_api/py.typed
diff -r 3b132946024d -r bf53d0fe7736 devel/py-pip-api/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pip-api/distinfo Tue Nov 16 16:03:12 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/16 16:03:12 wiz Exp $
+
+BLAKE2s (pip-api-0.0.23.tar.gz) = a7ba4998ef53bcc23b469453c9918ad110668c9f15b1e29cf97ddb2b2847be15
+SHA512 (pip-api-0.0.23.tar.gz) = 68ac25fc8c3f4dccbd9895900141291aab033a67def7b2da333331b96e3dcfd06ebda90ebe679938e8d126fa6e108f3c7c0805c9e0bf46af55da2f14894d680c
+Size (pip-api-0.0.23.tar.gz) = 106534 bytes
Home |
Main Index |
Thread Index |
Old Index