libxml2: change homepage, merge libxml2-python3 back
The homepage was picked up from specs file.
This commit is contained in:
parent
0d70f0d2e2
commit
fd4729c42d
4 changed files with 20 additions and 35 deletions
1
srcpkgs/libxml2-python3
Symbolic link
1
srcpkgs/libxml2-python3
Symbolic link
|
@ -0,0 +1 @@
|
|||
libxml2
|
|
@ -1,26 +0,0 @@
|
|||
# Template file for 'libxml2-python3'
|
||||
pkgname=libxml2-python3
|
||||
version=2.9.13
|
||||
revision=1
|
||||
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="https://download.gnome.org/sources/libxml2/${version%.*}/libxml2-${version}.tar.xz"
|
||||
checksum=276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e
|
||||
|
||||
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,22 +1,23 @@
|
|||
# Template file for 'libxml2'
|
||||
#
|
||||
# Please keep this in sync with "srcpkgs/libxml2-python3"
|
||||
#
|
||||
pkgname=libxml2
|
||||
version=2.9.13
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-threads --with-history --with-icu --without-python"
|
||||
hostmakedepends="gettext pkg-config"
|
||||
makedepends="zlib-devel ncurses-devel readline-devel liblzma-devel icu-devel"
|
||||
configure_args="--with-threads --with-history --with-icu"
|
||||
hostmakedepends="gettext pkg-config python3"
|
||||
makedepends="zlib-devel ncurses-devel readline-devel liblzma-devel icu-devel
|
||||
python3-devel"
|
||||
short_desc="Library providing XML and HTML support"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://www.xmlsoft.org/"
|
||||
distfiles="https://download.gnome.org/sources/libxml2/${version%.*}/libxml2-${version}.tar.xz"
|
||||
homepage="https://gitlab.gnome.org/GNOME/libxml2"
|
||||
distfiles="${GNOME_SITE}/libxml2/${version%.*}/libxml2-${version}.tar.xz"
|
||||
checksum=276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e
|
||||
python_version=3
|
||||
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/python$py3_ver"
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/${py3_lib}/*.a
|
||||
vlicense COPYING
|
||||
}
|
||||
|
||||
|
@ -35,6 +36,15 @@ libxml2-devel_package() {
|
|||
vmove "usr/share/man/man1/xml2-config*"
|
||||
vmove usr/share/man/man3
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.la"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
libxml2-python3_package() {
|
||||
depends="python3 ${sourcepkg}>=${version}"
|
||||
short_desc+=" - Python bindings"
|
||||
pkg_install() {
|
||||
vmove "${py3_lib}"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue