pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-gidgethub devel/py-gidgethub: import py-gidge...
details: https://anonhg.NetBSD.org/pkgsrc/rev/13ca52d2bbf9
branches: trunk
changeset: 378022:13ca52d2bbf9
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Apr 26 21:36:21 2022 +0000
description:
devel/py-gidgethub: import py-gidgethub-5.1.0
This is a library for the GitHub API which performs no I/O of its
own (a sans-I/O library). This allows users to choose whatever HTTP
library they prefer while parceling out GitHub-specific details to
this library. This base library is then built upon to provide an
abstract base class to a cleaner API to work with. Finally,
implementations of the abstract base class are provided for
asynchronous HTTP libraries for immediate usage.
diffstat:
devel/py-gidgethub/DESCR | 7 +++++++
devel/py-gidgethub/Makefile | 36 ++++++++++++++++++++++++++++++++++++
devel/py-gidgethub/PLIST | 27 +++++++++++++++++++++++++++
devel/py-gidgethub/distinfo | 5 +++++
4 files changed, 75 insertions(+), 0 deletions(-)
diffs (91 lines):
diff -r 0783720db30f -r 13ca52d2bbf9 devel/py-gidgethub/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gidgethub/DESCR Tue Apr 26 21:36:21 2022 +0000
@@ -0,0 +1,7 @@
+This is a library for the GitHub API which performs no I/O of its
+own (a sans-I/O library). This allows users to choose whatever HTTP
+library they prefer while parceling out GitHub-specific details to
+this library. This base library is then built upon to provide an
+abstract base class to a cleaner API to work with. Finally,
+implementations of the abstract base class are provided for
+asynchronous HTTP libraries for immediate usage.
diff -r 0783720db30f -r 13ca52d2bbf9 devel/py-gidgethub/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gidgethub/Makefile Tue Apr 26 21:36:21 2022 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2022/04/26 21:36:21 wiz Exp $
+
+DISTNAME= gidgethub-5.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/gidgethub/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/gidgethub/
+COMMENT= Async GitHub API library
+LICENSE= apache-2.0
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-flit-[0-9]*:../../devel/py-flit
+DEPENDS+= ${PYPKGPREFIX}-uritemplate>=3.0.1:../../textproc/py-uritemplate
+DEPENDS+= ${PYPKGPREFIX}-JWT>=2.0.0:../../textproc/py-JWT
+TEST_DEPENDS+= ${PYPKGPREFIX}-aiohttp-[0-9]*:../../www/py-aiohttp
+TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0.16.1:../../www/py-httpx
+TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
+TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+# not packaged yet
+#TEST_DEPENDS+= ${PYPKGPREFIX}-test-tornasync-[0-9]*:../../devel/py-test-tornasync
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+TEST_DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0783720db30f -r 13ca52d2bbf9 devel/py-gidgethub/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gidgethub/PLIST Tue Apr 26 21:36:21 2022 +0000
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/26 21:36:21 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/gidgethub/__init__.py
+${PYSITELIB}/gidgethub/__init__.pyc
+${PYSITELIB}/gidgethub/abc.py
+${PYSITELIB}/gidgethub/abc.pyc
+${PYSITELIB}/gidgethub/actions.py
+${PYSITELIB}/gidgethub/actions.pyc
+${PYSITELIB}/gidgethub/aiohttp.py
+${PYSITELIB}/gidgethub/aiohttp.pyc
+${PYSITELIB}/gidgethub/apps.py
+${PYSITELIB}/gidgethub/apps.pyc
+${PYSITELIB}/gidgethub/httpx.py
+${PYSITELIB}/gidgethub/httpx.pyc
+${PYSITELIB}/gidgethub/py.typed
+${PYSITELIB}/gidgethub/routing.py
+${PYSITELIB}/gidgethub/routing.pyc
+${PYSITELIB}/gidgethub/sansio.py
+${PYSITELIB}/gidgethub/sansio.pyc
+${PYSITELIB}/gidgethub/tornado.py
+${PYSITELIB}/gidgethub/tornado.pyc
diff -r 0783720db30f -r 13ca52d2bbf9 devel/py-gidgethub/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gidgethub/distinfo Tue Apr 26 21:36:21 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/26 21:36:21 wiz Exp $
+
+BLAKE2s (gidgethub-5.1.0.tar.gz) = 1df33ac51a23de7215454988cac7637422caac0dd564451a50dc35beeff0665a
+SHA512 (gidgethub-5.1.0.tar.gz) = 90006e8f386068ed979c84372a3c9a43cf41b3902fdc02aa19b0d5c19d9259a058d3b2e1b288bcf0f109eaa98818c8ed55eb7e1c657b45b9648ae06f57c86950
+Size (gidgethub-5.1.0.tar.gz) = 125577 bytes
Home |
Main Index |
Thread Index |
Old Index