diff --git a/archivers/py-brotli/Makefile b/archivers/py-brotli/Makefile index b5554a82542..928f94f219a 100644 --- a/archivers/py-brotli/Makefile +++ b/archivers/py-brotli/Makefile @@ -1,30 +1,32 @@ -COMMENT = Python bindings for the Brotli compression library +COMMENT= Python bindings for the Brotli compression library -MODPY_DISTV = 1.1.0 -DISTNAME = Brotli-${MODPY_DISTV} -PKGNAME = py-brotli-${MODPY_DISTV} -REVISION = 1 +MODPY_DISTV= 1.2.0 +DISTNAME= brotli-${MODPY_DISTV} +PKGNAME= py-brotli-${MODPY_DISTV} -CATEGORIES = archivers +# rename to avoid conflict with archivers/brotli +DISTFILES= pypi-{}brotli-${MODPY_DISTV}.tar.gz -HOMEPAGE = https://github.com/google/brotli +CATEGORIES= archivers + +HOMEPAGE= https://github.com/google/brotli # MIT -PERMIT_PACKAGE = Yes +PERMIT_PACKAGE= Yes # C++ -COMPILER = base-clang ports-gcc base-gcc +COMPILER= base-clang ports-gcc -WANTLIB += ${COMPILER_LIBCXX} m +MODULES= lang/python -MODULES = lang/python +MODPY_PI= Yes +MODPY_PYBUILD= setuptools +MODPY_PYTEST_ARGS= python/ +BUILD_DEPENDS= devel/py-pkgconfig -MODPY_PI = Yes -MODPY_PYBUILD = setuptools -MODPY_PYTEST_ARGS = python/ - -# Tests aren't included in 1.0.9 tarball (even the github tarball, -# although they are in the repo?!), but can be copied in (tests/ and -# python/tests/). +# not yet; archivers/brotli is old +#MAKE_ENV= USE_SYSTEM_BROTLI=1 +#LIB_DEPENDS= archivers/brotli +#WANTLIB= brotlicommon brotlidec brotlienc .include diff --git a/archivers/py-brotli/distinfo b/archivers/py-brotli/distinfo index c9e447ea6d2..02f2fffa273 100644 --- a/archivers/py-brotli/distinfo +++ b/archivers/py-brotli/distinfo @@ -1,2 +1,2 @@ -SHA256 (Brotli-1.1.0.tar.gz) = gd4IrBG8uFhB5EDBNhHAC2fTv4JpgxSSjQtnY2JUZyQ= -SIZE (Brotli-1.1.0.tar.gz) = 7372270 +SHA256 (pypi-brotli-1.2.0.tar.gz) = 4xD3fkGUHBM0CpWXb+ZqipWwHng9Qw7q96L4fgpX3Qo= +SIZE (pypi-brotli-1.2.0.tar.gz) = 7388632