pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-stone py-stone: updated to 3.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c8a8c17cf05
branches:  trunk
changeset: 374425:9c8a8c17cf05
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Feb 21 19:08:36 2022 +0000

description:
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

diffstat:

 net/py-stone/ALTERNATIVES |   1 +
 net/py-stone/Makefile     |  16 ++++++++++++----
 net/py-stone/PLIST        |   4 ++--
 net/py-stone/distinfo     |   8 ++++----
 4 files changed, 19 insertions(+), 10 deletions(-)

diffs (66 lines):

diff -r 5f89c55af051 -r 9c8a8c17cf05 net/py-stone/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-stone/ALTERNATIVES Mon Feb 21 19:08:36 2022 +0000
@@ -0,0 +1,1 @@
+bin/stone @PREFIX@/bin/stone-@PYVERSSUFFIX@
diff -r 5f89c55af051 -r 9c8a8c17cf05 net/py-stone/Makefile
--- a/net/py-stone/Makefile     Mon Feb 21 17:15:54 2022 +0000
+++ b/net/py-stone/Makefile     Mon Feb 21 19:08:36 2022 +0000
@@ -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 @@
 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"
diff -r 5f89c55af051 -r 9c8a8c17cf05 net/py-stone/PLIST
--- a/net/py-stone/PLIST        Mon Feb 21 17:15:54 2022 +0000
+++ b/net/py-stone/PLIST        Mon Feb 21 19:08:36 2022 +0000
@@ -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
diff -r 5f89c55af051 -r 9c8a8c17cf05 net/py-stone/distinfo
--- a/net/py-stone/distinfo     Mon Feb 21 17:15:54 2022 +0000
+++ b/net/py-stone/distinfo     Mon Feb 21 19:08:36 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index