libxml2-python: remove package
* add python3 to dependencies of libxml2-python3
This commit is contained in:
parent
0b852b64e4
commit
03df8f0754
6 changed files with 27 additions and 36 deletions
|
@ -1,34 +0,0 @@
|
|||
# Template file for 'libxml2-python'
|
||||
pkgname=libxml2-python
|
||||
version=2.9.10
|
||||
revision=4
|
||||
wrksrc="${pkgname%-python}-${version}"
|
||||
build_wrksrc=python
|
||||
build_style=python-module
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
makedepends="libxml2-devel python-devel python3-devel"
|
||||
depends="python python3"
|
||||
short_desc="Library providing XML and HTML support - Python2 bindings"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://www.xmlsoft.org/"
|
||||
distfiles="http://xmlsoft.org/sources/libxml2-${version}.tar.gz"
|
||||
checksum=aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f
|
||||
|
||||
post_patch() {
|
||||
if [ "${CROSS_BUILD}" ]; then
|
||||
vsed -i setup.py -e "s:/usr/include:${XBPS_CROSS_BASE}/usr/include:"
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense ../COPYING
|
||||
}
|
||||
|
||||
libxml2-python3_package() {
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python3*"
|
||||
vlicense ../COPYING
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
libxml2-python
|
26
srcpkgs/libxml2-python3/template
Normal file
26
srcpkgs/libxml2-python3/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'libxml2-python3'
|
||||
pkgname=libxml2-python3
|
||||
version=2.9.10
|
||||
revision=5
|
||||
wrksrc="libxml2-${version}"
|
||||
build_wrksrc=python
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-devel"
|
||||
makedepends="libxml2-devel python3-devel"
|
||||
depends="python3"
|
||||
short_desc="Library providing XML and HTML support - Python3 bindings"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://www.xmlsoft.org/"
|
||||
distfiles="http://xmlsoft.org/sources/libxml2-${version}.tar.gz"
|
||||
checksum=aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f
|
||||
|
||||
post_patch() {
|
||||
if [ "${CROSS_BUILD}" ]; then
|
||||
vsed -i setup.py -e "s:/usr/include:${XBPS_CROSS_BASE}/usr/include:"
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense ../COPYING
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'libxml2'
|
||||
#
|
||||
# Please keep this in sync with "srcpkgs/libxml2-python"
|
||||
# Please keep this in sync with "srcpkgs/libxml2-python3"
|
||||
#
|
||||
pkgname=libxml2
|
||||
version=2.9.10
|
||||
|
|
Loading…
Reference in a new issue