pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-test-httpbin py-test-httpbin: update to 1.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f9035a1fec1
branches:  trunk
changeset: 381606:0f9035a1fec1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 10 20:01:53 2022 +0000

description:
py-test-httpbin: update to 1.0.1.

* fix redirect Location to have "https://"; scheme (thanks @immerrr)
* Include regression tests in PyPI tarball by (thanks @kmosiejczuk)

diffstat:

 www/py-test-httpbin/Makefile |  14 ++++++++++----
 www/py-test-httpbin/distinfo |   8 ++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r f9ba215d5528 -r 0f9035a1fec1 www/py-test-httpbin/Makefile
--- a/www/py-test-httpbin/Makefile      Sun Jul 10 19:52:13 2022 +0000
+++ b/www/py-test-httpbin/Makefile      Sun Jul 10 20:01:53 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:36 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/07/10 20:01:53 wiz Exp $
 
-DISTNAME=      pytest-httpbin-1.0.0
+DISTNAME=      pytest-httpbin-1.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-httpbin/}
 
@@ -13,11 +12,18 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-httpbin-[0-9]*:../../www/py-httpbin
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+# py-requests uses py-test-httpbin for testing, avoid circular reference
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-httpbin
 
+# This is not enough; package needs to be installed for testing
+#TEST_ENV+=    PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f9ba215d5528 -r 0f9035a1fec1 www/py-test-httpbin/distinfo
--- a/www/py-test-httpbin/distinfo      Sun Jul 10 19:52:13 2022 +0000
+++ b/www/py-test-httpbin/distinfo      Sun Jul 10 20:01:53 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:30:49 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/07/10 20:01:53 wiz Exp $
 
-BLAKE2s (pytest-httpbin-1.0.0.tar.gz) = 434702a78bb1ef70e89901b2e044923463337c23895e27b0aea02c5c38c0f94b
-SHA512 (pytest-httpbin-1.0.0.tar.gz) = 5e890de7f90917c81ea99f5389ff955bc751a8852ced33dc16a4b950ed8966807af58e8ddee5f285e1c94254d90c07f51be619747631bb684a9123746f295d7f
-Size (pytest-httpbin-1.0.0.tar.gz) = 12244 bytes
+BLAKE2s (pytest-httpbin-1.0.1.tar.gz) = 7b8cef3d5dc08c448175be40eae4cb0fe240161f2d22bf84b4cb29ab232ec87c
+SHA512 (pytest-httpbin-1.0.1.tar.gz) = 3c2589e309bf34dd623051ce15cf09ccb23e7a11c160ed40f2379f11fb54618d77f03c9100faae1755f9a58c402ac10798f1c0ea28e11ff86408e2c2aaf82f15
+Size (pytest-httpbin-1.0.1.tar.gz) = 14482 bytes



Home | Main Index | Thread Index | Old Index