pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-stone



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb 21 19:08:36 UTC 2022

Modified Files:
        pkgsrc/net/py-stone: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/py-stone: ALTERNATIVES

Log Message:
py-stone: updated to 3.3.1

v3.3.1

Small fix to --attribute-comment in backend python client.

v3.3.0

Python

Add attrs export to python client

ApiRoute

ApiRoute: Provide a hash implementation, too.
Add sorting of ApiRoute, guaranteeing stable file output.

Objective C

Fix obj_c types to not overwrite jsonDict with nil
Synchronize access to route singletons
Added Bytes as a primitive that doesn't require serialization
Fix objc generation for Bytes property and for hash methods with switch statements

JavaScript/TypeScript

Fix wrap_error_in generation for TS client
Fix imports for TS autogenerated imports
Add ability to wrap errors in a custom error class for JS/TS
Add ability to dynamically import namespaces from types in the tsd client
Make extra parameters optional for JS/TS backends


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-stone/ALTERNATIVES
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-stone/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-stone/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-stone/distinfo

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

Modified files:

Index: pkgsrc/net/py-stone/Makefile
diff -u pkgsrc/net/py-stone/Makefile:1.5 pkgsrc/net/py-stone/Makefile:1.6
--- pkgsrc/net/py-stone/Makefile:1.5    Wed Jan  5 15:41:18 2022
+++ pkgsrc/net/py-stone/Makefile        Mon Feb 21 19:08:36 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:18 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/21 19:08:36 adam Exp $
 
-DISTNAME=      stone-3.2.1
+DISTNAME=      stone-3.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/stone/}
 
@@ -12,12 +11,21 @@ COMMENT=    Interface description language 
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-ply>=3.4:../../devel/py-ply
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.3.0:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
+# https://github.com/dropbox/stone/issues/266
+post-extract:
+       ${ECHO} 'ply>= 3.4' > ${WRKSRC}/requirements.txt
+       ${ECHO} 'six>= 1.12.0' >> ${WRKSRC}/requirements.txt
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} stone stone-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-stone/PLIST
diff -u pkgsrc/net/py-stone/PLIST:1.1 pkgsrc/net/py-stone/PLIST:1.2
--- pkgsrc/net/py-stone/PLIST:1.1       Wed Jan 20 21:02:13 2021
+++ pkgsrc/net/py-stone/PLIST   Mon Feb 21 19:08:36 2022
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2021/01/20 21:02:13 adam Exp $
-bin/stone
+@comment $NetBSD: PLIST,v 1.2 2022/02/21 19:08:36 adam Exp $
+bin/stone-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt

Index: pkgsrc/net/py-stone/distinfo
diff -u pkgsrc/net/py-stone/distinfo:1.3 pkgsrc/net/py-stone/distinfo:1.4
--- pkgsrc/net/py-stone/distinfo:1.3    Tue Oct 26 11:06:44 2021
+++ pkgsrc/net/py-stone/distinfo        Mon Feb 21 19:08:36 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:06:44 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/02/21 19:08:36 adam Exp $
 
-BLAKE2s (stone-3.2.1.tar.gz) = c29d31158b73d816e79e0e3a6dd8f64c151936aac51ea78d17703909fedd7962
-SHA512 (stone-3.2.1.tar.gz) = 6cfae8ee63c2e47f3faf561959d48457440f6cf63996efb9da92306b45021c5b55c975444e6907b9b5ea076b431cbc4cfc228d155ebc190eaf32c918f44ab8c5
-Size (stone-3.2.1.tar.gz) = 189351 bytes
+BLAKE2s (stone-3.3.1.tar.gz) = 244dd258a04e03f3e035e520b40c4a651bc2280ed6a3ae1d26b081b35adb2438
+SHA512 (stone-3.3.1.tar.gz) = 123ab7ba6b4144e570072c881365510fc1861bccba4a0c74de38236ebbbf6c3883af5a5584da6f95098de8a2e407bcd484b97c91a5e1744a62f1fae85d080887
+Size (stone-3.3.1.tar.gz) = 190888 bytes

Added files:

Index: pkgsrc/net/py-stone/ALTERNATIVES
diff -u /dev/null pkgsrc/net/py-stone/ALTERNATIVES:1.1
--- /dev/null   Mon Feb 21 19:08:36 2022
+++ pkgsrc/net/py-stone/ALTERNATIVES    Mon Feb 21 19:08:36 2022
@@ -0,0 +1 @@
+bin/stone @PREFIX@/bin/stone-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index