diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2016-12-24 21:03:21 +0800 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2016-12-24 21:03:21 +0800 |
commit | 321a350cfdff0a5dd194d14c9250364342960f48 (patch) | |
tree | 20e93bc51db6eacc5b11b6832f764bb6901cf025 /archivers | |
parent | 51288f7c3155564679c6e48f028d25815ba82574 (diff) | |
download | freebsd-ports-gnome-321a350cfdff0a5dd194d14c9250364342960f48.tar.gz freebsd-ports-gnome-321a350cfdff0a5dd194d14c9250364342960f48.tar.zst freebsd-ports-gnome-321a350cfdff0a5dd194d14c9250364342960f48.zip |
- Update to 0.8.2
- Use archivers/liblz4 instead of bundle one
- Update WWW
Changes: https://github.com/python-lz4/python-lz4/releases
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/py-lz4/Makefile | 5 | ||||
-rw-r--r-- | archivers/py-lz4/distinfo | 5 | ||||
-rw-r--r-- | archivers/py-lz4/files/patch-setup.py | 28 | ||||
-rw-r--r-- | archivers/py-lz4/files/patch-src_python-lz4.c | 13 | ||||
-rw-r--r-- | archivers/py-lz4/pkg-descr | 2 |
5 files changed, 7 insertions, 46 deletions
diff --git a/archivers/py-lz4/Makefile b/archivers/py-lz4/Makefile index 4ccf4f99fe95..725724fbbb17 100644 --- a/archivers/py-lz4/Makefile +++ b/archivers/py-lz4/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= lz4 -PORTVERSION= 0.7.0 -PORTREVISION= 1 +PORTVERSION= 0.8.2 CATEGORIES= archivers python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,6 +11,8 @@ COMMENT= Python binding for the LZ4 compression library LICENSE= BSD3CLAUSE +LIB_DEPENDS= liblz4.so:archivers/liblz4 + USE_PYTHON= autoplist distutils USES= python diff --git a/archivers/py-lz4/distinfo b/archivers/py-lz4/distinfo index 82d26708057f..04572982d3d8 100644 --- a/archivers/py-lz4/distinfo +++ b/archivers/py-lz4/distinfo @@ -1,2 +1,3 @@ -SHA256 (lz4-0.7.0.tar.gz) = cd225744298568fd217577fc14a326a24835412374dadb5060db48f1af43eb48 -SIZE (lz4-0.7.0.tar.gz) = 26786 +TIMESTAMP = 1482515421 +SHA256 (lz4-0.8.2.tar.gz) = 6bf49061d73d69c453e892ace4586b99ccffc7de558f921d18b9418235692ac7 +SIZE (lz4-0.8.2.tar.gz) = 30818 diff --git a/archivers/py-lz4/files/patch-setup.py b/archivers/py-lz4/files/patch-setup.py deleted file mode 100644 index 57c736a5e2a6..000000000000 --- a/archivers/py-lz4/files/patch-setup.py +++ /dev/null @@ -1,28 +0,0 @@ ---- setup.py.orig 2014-07-07 13:03:03 UTC -+++ setup.py -@@ -4,10 +4,11 @@ - from setuptools import setup, find_packages, Extension - - VERSION = (0, 7, 0) -+VERSION_STR = ".".join([str(x) for x in VERSION]) - - setup( - name='lz4', -- version=".".join([str(x) for x in VERSION]), -+ version=VERSION_STR, - description="LZ4 Bindings for Python", - long_description=open('README.rst', 'r').read(), - author='Steeve Morin', -@@ -26,10 +27,11 @@ setup( - "-Wall", - "-W", - "-Wundef", -+ "-DVERSION=\"%s\"" % VERSION_STR, - "-DLZ4_VERSION=\"r119\"", - ]) - ], -- setup_requires=["nose>=1.0"], -+ tests_require=["nose>=1.0"], - test_suite = "nose.collector", - classifiers=[ - 'Development Status :: 5 - Production/Stable', diff --git a/archivers/py-lz4/files/patch-src_python-lz4.c b/archivers/py-lz4/files/patch-src_python-lz4.c deleted file mode 100644 index 942f087e3227..000000000000 --- a/archivers/py-lz4/files/patch-src_python-lz4.c +++ /dev/null @@ -1,13 +0,0 @@ ---- src/python-lz4.c.orig 2014-07-07 13:03:03 UTC -+++ src/python-lz4.c -@@ -202,6 +202,10 @@ void initlz4(void) - INITERROR; - } - -+ PyModule_AddStringConstant(module, "VERSION", VERSION); -+ PyModule_AddStringConstant(module, "__version__", VERSION); -+ PyModule_AddStringConstant(module, "LZ4_VERSION", LZ4_VERSION); -+ - #if PY_MAJOR_VERSION >= 3 - return module; - #endif diff --git a/archivers/py-lz4/pkg-descr b/archivers/py-lz4/pkg-descr index 170126623e5a..cd3ab4909a0b 100644 --- a/archivers/py-lz4/pkg-descr +++ b/archivers/py-lz4/pkg-descr @@ -1,3 +1,3 @@ Python binding for the lz4 compression library by Yann Collet. -WWW: https://github.com/steeve/python-lz4 +WWW: https://github.com/python-lz4/python-lz4 |