FreeBSD Bugzilla – Attachment 224333 Details for
Bug 255307
net/py-pynsq: update to 0.9.0 (fixes indirect conflict with math/py-matplotlib)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch] update to 0.9.0
pr-pynsq-update-0.9.0 (text/plain), 2.88 KB, created by
John Hein
on 2021-04-21 16:02:02 UTC
(
hide
)
Description:
[patch] update to 0.9.0
Filename:
MIME Type:
Creator:
John Hein
Created:
2021-04-21 16:02:02 UTC
Size:
2.88 KB
patch
obsolete
>Update py-pynsq to 0.9.0 > >0.9.0 now supports tornado > 5 > > This is important for playing well in the ports tree. It avoids > the problem of, for example, py-matplotlib depending on www/py-tornado > (currently 6.1) and py-pynsq depending on www/py-tornado5 (5.1.1). > These two tornado versions currently install conflicting files, > so this effectively prevents users from installing py-pynsq when > py-matplotlib is installed. There may be other similar examples > of dependency issues. > >0.9.0 also addresses some other issues: >https://github.com/nsqio/pynsq/releases/tag/v0.9.0 > >In addition to the tornado support update, the most notable changes >are IPv6 support and improved RDY handling. > >Note regarding PORTVERSION / DISTVERSION: > >When this port was updated to 0.9.0b1, it should have used DISTVERSION >instead of PORTVERSION. > >This would have generated a PORTVERSION of 0.9.0.b1. It seems >upstream intended b1 to mean beta #1 (rather than a "later" minor >update to 0.9.0). 0.9.0.b1 is better for package versioning >comparison. > >Now that we want to update to 0.9.0, version comparison thinks >0.9.0b1 is later than 0.9.0 > >Address this by using DISTVERSION=0.9.0 so the fetch gets the >right version - and because 0.9.0<0.9.0b1, set PORTVERSION=0.9.0rel >which evaluates to later than 0.9.0b1. This is better than using >a permanent PORTEPOCH bump. > >% pkg version --test-version 0.9.0 0.9.0b1_1 >< >% pkg version --test-version 0.9.0 0.9.0.b1_1 >> >% pkg version --test-version 0.9.0rel 0.9.0b1_1 >> > >The porter's handbook currently documents this situation fairly well. >See section 5.2.2, particularly example 5.4 and 5.5. > >Index: Makefile >=================================================================== >--- Makefile (revision 569609) >+++ Makefile (working copy) >@@ -2,9 +2,9 @@ > # $FreeBSD$ > > PORTNAME= pynsq >-PORTVERSION= 0.9.0b1 >+PORTVERSION= 0.9.0rel >+DISTVERSION= 0.9.0 > DISTVERSIONPREFIX= v >-PORTREVISION= 1 > CATEGORIES= net python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >@@ -14,7 +14,7 @@ > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado5<6:www/py-tornado5@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} > TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3.1:devel/py-pytest@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}python-snappy>0:archivers/py-python-snappy@${PY_FLAVOR} \ >Index: distinfo >=================================================================== >--- distinfo (revision 569609) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1557051695 >-SHA256 (nsqio-pynsq-v0.9.0b1_GH0.tar.gz) = 092194574b2f9840a09f1b61649967d3e446d8fa8f503da1d662fd136dd097f1 >-SIZE (nsqio-pynsq-v0.9.0b1_GH0.tar.gz) = 43423 >+TIMESTAMP = 1618998396 >+SHA256 (nsqio-pynsq-v0.9.0_GH0.tar.gz) = 674c98ea2360512e0cd7b0e0e7af69d9d3bee01fc0fbf7793a17e682a0a8089f >+SIZE (nsqio-pynsq-v0.9.0_GH0.tar.gz) = 44594
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 255307
:
224333
|
224666