python-apsw: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
ed50743d98
commit
c019f234b4
@ -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
1
srcpkgs/python3-apsw
Symbolic link
@ -0,0 +1 @@
|
||||
python-apsw
|
Loading…
Reference in New Issue
Block a user