pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-test-httpbin



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 10 20:01:53 UTC 2022

Modified Files:
        pkgsrc/www/py-test-httpbin: Makefile distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-test-httpbin/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-test-httpbin/distinfo

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

Modified files:

Index: pkgsrc/www/py-test-httpbin/Makefile
diff -u pkgsrc/www/py-test-httpbin/Makefile:1.8 pkgsrc/www/py-test-httpbin/Makefile:1.9
--- pkgsrc/www/py-test-httpbin/Makefile:1.8     Tue Jan  4 20:55:36 2022
+++ pkgsrc/www/py-test-httpbin/Makefile Sun Jul 10 20:01:53 2022
@@ -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 @@ LICENSE=    mit
 
 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"

Index: pkgsrc/www/py-test-httpbin/distinfo
diff -u pkgsrc/www/py-test-httpbin/distinfo:1.6 pkgsrc/www/py-test-httpbin/distinfo:1.7
--- pkgsrc/www/py-test-httpbin/distinfo:1.6     Tue Oct 26 11:30:49 2021
+++ pkgsrc/www/py-test-httpbin/distinfo Sun Jul 10 20:01:53 2022
@@ -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