python-apsw: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 04:55:32 +02:00
parent ed50743d98
commit c019f234b4
2 changed files with 13 additions and 7 deletions

View file

@ -3,12 +3,11 @@ pkgname=python-apsw
_distver=3.14.1
_patchver=r1
version=${_distver}${_patchver}
revision=1
revision=2
wrksrc="apsw-${_distver}-${_patchver}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="python-devel python3.4-devel sqlite-devel"
hostmakedepends="python-devel python3-devel"
makedepends="python-devel python3-devel sqlite-devel"
short_desc="Another Python SQLite Wrapper (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
@ -20,10 +19,16 @@ post_install() {
vlicense LICENSE
}
python3.4-apsw_package() {
short_desc="${short_desc/Python2/Python3.4}"
python3-apsw_package() {
replaces="python3.4-apsw>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3.4
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-apsw_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-apsw>=${version}_${revision}"
}

1
srcpkgs/python3-apsw Symbolic link
View file

@ -0,0 +1 @@
python-apsw