python-snakeoil: drop package
This commit is contained in:
parent
003643e158
commit
3a055ab703
|
@ -1 +0,0 @@
|
|||
python-snakeoil
|
|
@ -1,43 +0,0 @@
|
|||
# Template file for 'python-snakeoil'
|
||||
pkgname=python-snakeoil
|
||||
version=0.7.5
|
||||
revision=3
|
||||
wrksrc="snakeoil-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="snakeoil"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Python2 optimized versions of common python functionality"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||
license="BSD, GPL-2"
|
||||
homepage="https://github.com/pkgcore/snakeoil"
|
||||
# changelog="https://github.com/pkgcore/snakeoil/blob/master/NEWS.rst"
|
||||
distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
|
||||
checksum=2cbcd8b39d0f05c76e734840ef87796b1acfd9dd4c6d352253a7b5b91be7f4c3
|
||||
|
||||
post_install() {
|
||||
vlicense BSD
|
||||
}
|
||||
|
||||
python-snakeoil-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/python2.7
|
||||
}
|
||||
}
|
||||
python3-snakeoil_package() {
|
||||
pycompile_module="snakeoil"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense BSD
|
||||
}
|
||||
}
|
||||
python3-snakeoil-devel_package() {
|
||||
depends="python3-snakeoil>=${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/python3*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-snakeoil
|
|
@ -1 +1 @@
|
|||
python-snakeoil
|
||||
python3-snakeoil
|
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python3-snakeoil'
|
||||
pkgname=python3-snakeoil
|
||||
version=0.7.5
|
||||
revision=4
|
||||
wrksrc="snakeoil-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
makedepends="python3-devel"
|
||||
short_desc="Python3 optimized versions of common python functionality"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||
license="BSD-3-Clause, GPL-2.0-only"
|
||||
homepage="https://github.com/pkgcore/snakeoil"
|
||||
# changelog="https://github.com/pkgcore/snakeoil/blob/master/NEWS.rst"
|
||||
distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
|
||||
checksum=2cbcd8b39d0f05c76e734840ef87796b1acfd9dd4c6d352253a7b5b91be7f4c3
|
||||
|
||||
pre_check() {
|
||||
export PYTHONPATH=$(cd build/lib* && pwd)
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense BSD
|
||||
}
|
||||
|
||||
python3-snakeoil-devel_package() {
|
||||
depends="python3-snakeoil>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/python3*
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue