python-snappy: drop package
This commit is contained in:
parent
a830bb30ee
commit
003643e158
4 changed files with 22 additions and 28 deletions
|
@ -1,27 +0,0 @@
|
||||||
# Template file for 'python-snappy'
|
|
||||||
pkgname=python-snappy
|
|
||||||
version=0.5.4
|
|
||||||
revision=2
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="snappy"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
makedepends="python-devel python3-devel snappy-devel"
|
|
||||||
short_desc="Python2 bindings for the snappy compression library from Google"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
homepage="https://github.com/andrix/python-snappy"
|
|
||||||
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
||||||
checksum=d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-snappy_package() {
|
|
||||||
pycompile_module="snappy"
|
|
||||||
short_desc="${pkgname/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-snappy
|
|
22
srcpkgs/python3-snappy/template
Normal file
22
srcpkgs/python3-snappy/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'python3-snappy'
|
||||||
|
pkgname=python3-snappy
|
||||||
|
_pkgname=python-snappy
|
||||||
|
version=0.5.4
|
||||||
|
revision=3
|
||||||
|
wrksrc=$_pkgname-$version
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
makedepends="python3-devel snappy-devel python3-cffi libffi-devel"
|
||||||
|
short_desc="Python library for the snappy compression library from Google"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="https://github.com/andrix/python-snappy"
|
||||||
|
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
||||||
|
checksum=d9c26532cfa510f45e8d135cde140e8a5603d3fb254cfec273ebc0ecf9f668e2
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
export PYTHONPATH=$(cd build/lib* && pwd)
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue