92ce085509
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
31 lines
891 B
Makefile
31 lines
891 B
Makefile
# $NetBSD: Makefile,v 1.6 2022/02/21 19:08:36 adam Exp $
|
|
|
|
DISTNAME= stone-3.3.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stone/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/dropbox/stone
|
|
COMMENT= Interface description language (IDL) for APIs
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-ply>=3.4:../../devel/py-ply
|
|
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"
|