3.10.0: Add descriptor methods in descriptor_pool are deprecated. Uses explicit imports to prevent multithread test failures in py3. Added delitem for Python extension dict Update six version to 1.12.0 and fix legacy_create_init issue
24 lines
730 B
Makefile
24 lines
730 B
Makefile
# $NetBSD: Makefile,v 1.22 2019/10/04 11:13:39 adam Exp $
|
|
|
|
DISTNAME= protobuf-3.10.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://developers.google.com/protocol-buffers/
|
|
COMMENT= Python bindings for protobuf
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
|
|
|
|
USE_LANGUAGES+= c c++11
|
|
|
|
MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc
|
|
PYSETUPBUILDARGS= --cpp_implementation
|
|
PYSETUPINSTALLARGS= --cpp_implementation
|
|
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|