pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Fri Dec  4 23:24:57 UTC 2020

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

Log Message:
devel/py-responses: Import py-responses 0.12.1

A utility library for mocking out the requests Python library.


To generate a diff of this commit:
cvs rdiff -u -r1.3280 -r1.3281 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-responses/DESCR \
    pkgsrc/devel/py-responses/Makefile pkgsrc/devel/py-responses/PLIST \
    pkgsrc/devel/py-responses/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3280 pkgsrc/devel/Makefile:1.3281
--- pkgsrc/devel/Makefile:1.3280        Fri Dec  4 09:25:33 2020
+++ pkgsrc/devel/Makefile       Fri Dec  4 23:24:56 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3280 2020/12/04 09:25:33 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3281 2020/12/04 23:24:56 riastradh Exp $
 #
 
 COMMENT=       Development utilities
@@ -2544,6 +2544,7 @@ SUBDIR+=  py-requests-futures
 SUBDIR+=       py-requests-mock
 SUBDIR+=       py-requests-toolbelt
 SUBDIR+=       py-requests-unixsocket
+SUBDIR+=       py-responses
 SUBDIR+=       py-restructuredtext_lint
 SUBDIR+=       py-retry_decorator
 SUBDIR+=       py-rlp

Added files:

Index: pkgsrc/devel/py-responses/DESCR
diff -u /dev/null pkgsrc/devel/py-responses/DESCR:1.1
--- /dev/null   Fri Dec  4 23:24:57 2020
+++ pkgsrc/devel/py-responses/DESCR     Fri Dec  4 23:24:56 2020
@@ -0,0 +1 @@
+A utility library for mocking out the requests Python library.
Index: pkgsrc/devel/py-responses/Makefile
diff -u /dev/null pkgsrc/devel/py-responses/Makefile:1.1
--- /dev/null   Fri Dec  4 23:24:57 2020
+++ pkgsrc/devel/py-responses/Makefile  Fri Dec  4 23:24:56 2020
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2020/12/04 23:24:56 riastradh Exp $
+
+GITHUB_PROJECT=        responses
+GITHUB_TAG=    0.12.1
+DISTNAME=      ${GITHUB_TAG}
+PKGNAME=       ${PYPKGPREFIX}-${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=getsentry/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.org/project/responses/
+COMMENT=       Python utility library for mocking out requests
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-cookies>=0:../../www/py-cookies
+DEPENDS+=      ${PYPKGPREFIX}-mock>=0:../../devel/py-mock
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-six>=0:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-urllib3>=1.25.10:../../www/py-urllib3
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=0:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver>=0:../../devel/py-test-localserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.6:../../devel/py-test
+
+do-test:
+       ${RUN} \
+       cd ${WRKSRC} && \
+       ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-responses/PLIST
diff -u /dev/null pkgsrc/devel/py-responses/PLIST:1.1
--- /dev/null   Fri Dec  4 23:24:57 2020
+++ pkgsrc/devel/py-responses/PLIST     Fri Dec  4 23:24:56 2020
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/04 23:24:56 riastradh Exp $
+${PYSITELIB}/responses-${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/responses-${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/responses-${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/responses-${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/responses-${EGG_INFODIR}/requires.txt
+${PYSITELIB}/responses-${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/responses.py
+${PYSITELIB}/responses.pyc
+${PYSITELIB}/responses.pyo
Index: pkgsrc/devel/py-responses/distinfo
diff -u /dev/null pkgsrc/devel/py-responses/distinfo:1.1
--- /dev/null   Fri Dec  4 23:24:57 2020
+++ pkgsrc/devel/py-responses/distinfo  Fri Dec  4 23:24:56 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/04 23:24:56 riastradh Exp $
+
+SHA1 (responses/0.12.1.tar.gz) = 33297769a0b48b9be26aa18efec858d6d0caa203
+RMD160 (responses/0.12.1.tar.gz) = 0ff54d4a2ec3494802aa8ba4bd6376e570b90856
+SHA512 (responses/0.12.1.tar.gz) = f99e9a127328bd000c78d160fdd0cf8288999c47c933b185e9cce323697f2728ec28dc6dd8a4e29b55797e7fff94076190165bc63e1bc36e050027f875d95775
+Size (responses/0.12.1.tar.gz) = 24690 bytes



Home | Main Index | Thread Index | Old Index