pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-raven



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Oct 14 07:24:52 UTC 2024

Modified Files:
        pkgsrc/www/py-raven: Makefile PLIST distinfo
        pkgsrc/www/py-raven/patches: patch-setup.py

Log Message:
py-raven: convert to wheel.mk

Remove unused (test) dependency on anyjson.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/py-raven/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-raven/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-raven/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-raven/patches/patch-setup.py

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-raven/Makefile
diff -u pkgsrc/www/py-raven/Makefile:1.17 pkgsrc/www/py-raven/Makefile:1.18
--- pkgsrc/www/py-raven/Makefile:1.17   Mon Oct 14 06:46:08 2024
+++ pkgsrc/www/py-raven/Makefile        Mon Oct 14 07:24:52 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2024/10/14 06:46:08 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2024/10/14 07:24:52 wiz Exp $
 
 DISTNAME=      raven-6.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/raven/}
 
@@ -11,12 +11,12 @@ HOMEPAGE=   https://github.com/getsentry/r
 COMMENT=       Client for Sentry
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-blinker>=1.1:../../devel/py-blinker
 DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
 TEST_DEPENDS+= ${PYPKGPREFIX}-WebOb-[0-9]*:../../www/py-WebOb
 TEST_DEPENDS+= ${PYPKGPREFIX}-WebTest-[0-9]*:../../www/py-WebTest
 TEST_DEPENDS+= ${PYPKGPREFIX}-aiohttp-[0-9]*:../../www/py-aiohttp
-TEST_DEPENDS+= ${PYPKGPREFIX}-anyjson-[0-9]*:../../textproc/py-anyjson
 TEST_DEPENDS+= ${PYPKGPREFIX}-bottle-[0-9]*:../../www/py-bottle
 TEST_DEPENDS+= ${PYPKGPREFIX}-celery>=2.5:../../net/py-celery
 TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
@@ -27,8 +27,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-logbook-[0
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
-# avoid circular dependency
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 TEST_DEPENDS+= ${PYPKGPREFIX}-sanic>=0.7.0:../../www/py-sanic
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5.1:../../devel/py-test-cov
@@ -42,13 +41,11 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-tox-[0-9]*
 TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 TEST_DEPENDS+= ${PYPKGPREFIX}-zconfig-[0-9]*:../../devel/py-zconfig
 
-USE_PKG_RESOURCES=     yes
-
 USE_LANGUAGES= # none
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} raven raven-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-raven/PLIST
diff -u pkgsrc/www/py-raven/PLIST:1.6 pkgsrc/www/py-raven/PLIST:1.7
--- pkgsrc/www/py-raven/PLIST:1.6       Mon Feb 18 11:44:22 2019
+++ pkgsrc/www/py-raven/PLIST   Mon Oct 14 07:24:52 2024
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2019/02/18 11:44:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/10/14 07:24:52 wiz Exp $
 bin/raven-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/raven/__init__.py
 ${PYSITELIB}/raven/__init__.pyc
 ${PYSITELIB}/raven/__init__.pyo

Index: pkgsrc/www/py-raven/distinfo
diff -u pkgsrc/www/py-raven/distinfo:1.11 pkgsrc/www/py-raven/distinfo:1.12
--- pkgsrc/www/py-raven/distinfo:1.11   Thu Jan 27 10:16:09 2022
+++ pkgsrc/www/py-raven/distinfo        Mon Oct 14 07:24:52 2024
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2022/01/27 10:16:09 wiz Exp $
+$NetBSD: distinfo,v 1.12 2024/10/14 07:24:52 wiz Exp $
 
 BLAKE2s (raven-6.10.0.tar.gz) = 6176d427fd2a54438c40e861526cd702f790f9aaa563df0883bac7315069c3ef
 SHA512 (raven-6.10.0.tar.gz) = 37ca6d5953dc92b57b3bf4e2edb3947d41f33711d9babfc9eafb8712dc5923829f8810e5123e63749710aeecceb66e56bf8b5b60868f61d750704e20add3c747
 Size (raven-6.10.0.tar.gz) = 288902 bytes
 SHA1 (patch-conftest.py) = 258b45cb148b7297111dc61fe714709b9174660e
-SHA1 (patch-setup.py) = 50da85fcaa001d2d050ec8caf4f9b9792d9da89d
+SHA1 (patch-setup.py) = b6584c48ba4c5b44064eeddd9f4aa52016ea82f5

Index: pkgsrc/www/py-raven/patches/patch-setup.py
diff -u pkgsrc/www/py-raven/patches/patch-setup.py:1.5 pkgsrc/www/py-raven/patches/patch-setup.py:1.6
--- pkgsrc/www/py-raven/patches/patch-setup.py:1.5      Fri Apr 27 07:45:09 2018
+++ pkgsrc/www/py-raven/patches/patch-setup.py  Mon Oct 14 07:24:52 2024
@@ -1,10 +1,12 @@
-$NetBSD: patch-setup.py,v 1.5 2018/04/27 07:45:09 adam Exp $
+$NetBSD: patch-setup.py,v 1.6 2024/10/14 07:24:52 wiz Exp $
 
 Relax requirements.
 
---- setup.py.orig      2018-04-18 09:28:51.000000000 +0000
+Remove unused anyjson test dependency.
+
+--- setup.py.orig      2018-12-15 19:00:21.000000000 +0000
 +++ setup.py
-@@ -67,21 +67,21 @@ if sys.version_info >= (3, 5):
+@@ -70,26 +70,25 @@ if sys.version_info >= (3, 5):
  tests_require = [
      'bottle',
      'celery>=2.5',
@@ -35,3 +37,8 @@ Relax requirements.
      'tox',
      'webob',
      'webtest',
+     'wheel',
+-    'anyjson',
+     'ZConfig',
+ ] + (
+     flask_requires + flask_tests_requires



Home | Main Index | Thread Index | Old Index