pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pip-api
Module Name: pkgsrc
Committed By: wiz
Date: Tue Nov 16 16:03:13 UTC 2021
Added Files:
pkgsrc/devel/py-pip-api: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pip-api/DESCR \
pkgsrc/devel/py-pip-api/Makefile pkgsrc/devel/py-pip-api/PLIST \
pkgsrc/devel/py-pip-api/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-pip-api/DESCR
diff -u /dev/null pkgsrc/devel/py-pip-api/DESCR:1.1
--- /dev/null Tue Nov 16 16:03:13 2021
+++ pkgsrc/devel/py-pip-api/DESCR Tue Nov 16 16:03:12 2021
@@ -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.
Index: pkgsrc/devel/py-pip-api/Makefile
diff -u /dev/null pkgsrc/devel/py-pip-api/Makefile:1.1
--- /dev/null Tue Nov 16 16:03:13 2021
+++ pkgsrc/devel/py-pip-api/Makefile Tue Nov 16 16:03:12 2021
@@ -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"
Index: pkgsrc/devel/py-pip-api/PLIST
diff -u /dev/null pkgsrc/devel/py-pip-api/PLIST:1.1
--- /dev/null Tue Nov 16 16:03:13 2021
+++ pkgsrc/devel/py-pip-api/PLIST Tue Nov 16 16:03:12 2021
@@ -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
Index: pkgsrc/devel/py-pip-api/distinfo
diff -u /dev/null pkgsrc/devel/py-pip-api/distinfo:1.1
--- /dev/null Tue Nov 16 16:03:13 2021
+++ pkgsrc/devel/py-pip-api/distinfo Tue Nov 16 16:03:12 2021
@@ -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