pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-gidgethub



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 26 21:36:21 UTC 2022

Added Files:
        pkgsrc/devel/py-gidgethub: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-gidgethub/DESCR \
    pkgsrc/devel/py-gidgethub/Makefile pkgsrc/devel/py-gidgethub/PLIST \
    pkgsrc/devel/py-gidgethub/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-gidgethub/DESCR
diff -u /dev/null pkgsrc/devel/py-gidgethub/DESCR:1.1
--- /dev/null   Tue Apr 26 21:36:21 2022
+++ pkgsrc/devel/py-gidgethub/DESCR     Tue Apr 26 21:36:21 2022
@@ -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.
Index: pkgsrc/devel/py-gidgethub/Makefile
diff -u /dev/null pkgsrc/devel/py-gidgethub/Makefile:1.1
--- /dev/null   Tue Apr 26 21:36:21 2022
+++ pkgsrc/devel/py-gidgethub/Makefile  Tue Apr 26 21:36:21 2022
@@ -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"
Index: pkgsrc/devel/py-gidgethub/PLIST
diff -u /dev/null pkgsrc/devel/py-gidgethub/PLIST:1.1
--- /dev/null   Tue Apr 26 21:36:21 2022
+++ pkgsrc/devel/py-gidgethub/PLIST     Tue Apr 26 21:36:21 2022
@@ -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
Index: pkgsrc/devel/py-gidgethub/distinfo
diff -u /dev/null pkgsrc/devel/py-gidgethub/distinfo:1.1
--- /dev/null   Tue Apr 26 21:36:21 2022
+++ pkgsrc/devel/py-gidgethub/distinfo  Tue Apr 26 21:36:21 2022
@@ -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