python-lz4: update to 1.1.0
This commit is contained in:
parent
9e7dcb1e85
commit
3a423b3973
1 changed files with 8 additions and 7 deletions
|
@ -1,26 +1,27 @@
|
||||||
# Template file for 'python-lz4'
|
# Template file for 'python-lz4'
|
||||||
pkgname=python-lz4
|
pkgname=python-lz4
|
||||||
version=0.11.1
|
version=1.1.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="lz4-${version}"
|
wrksrc="lz4-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="lz4"
|
pycompile_module="lz4"
|
||||||
hostmakedepends="pkg-config python-setuptools python3-setuptools"
|
hostmakedepends="pkg-config python-setuptools python3-setuptools
|
||||||
|
python-pkgconfig python3-pkgconfig"
|
||||||
makedepends="python-devel python3-devel lz4-devel"
|
makedepends="python-devel python3-devel lz4-devel"
|
||||||
|
depends="python-future"
|
||||||
short_desc="LZ4 bindings for Python2"
|
short_desc="LZ4 bindings for Python2"
|
||||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||||
license="3-clause-BSD"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/python-lz4/python-lz4"
|
homepage="https://github.com/python-lz4/python-lz4"
|
||||||
distfiles="${PYPI_SITE}/l/lz4/lz4-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/l/lz4/lz4-${version}.tar.gz"
|
||||||
checksum=440bbb039e15c09b049c0a8c1294978341d3fac943b83e04ff3f9e3b7ec0058b
|
checksum=9ede632d668995d6148942022c025c0f7ea0d97c275c099f9ad156e02cc1711e
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i setup.py \
|
sed -i setup.py \
|
||||||
-e '/setup_requires/d' \
|
-e '/setup_requires=/,+4d' \
|
||||||
-e '/use_scm_version/,+2d' \
|
-e '/use_scm_version=/,+2d' \
|
||||||
-e "/name=/ a\
|
-e "/name=/ a\
|
||||||
version='${version}',"
|
version='${version}',"
|
||||||
sed -n 2,29p lz4/_version.c >LICENSE
|
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in a new issue