python-apsw: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 22:27:20 +07:00
parent e6e37a1213
commit 6925cbd46e
3 changed files with 11 additions and 16 deletions

View File

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

View File

@ -1,14 +1,14 @@
# Template file for 'python-apsw'
pkgname=python-apsw
# Template file for 'python3-apsw'
pkgname=python3-apsw
_distver=3.32.2
_patchver=r1
version=${_distver}${_patchver}
revision=1
revision=2
wrksrc="apsw-${_distver}-${_patchver}"
build_style=python-module
hostmakedepends="python-devel python3-devel"
makedepends="python-devel python3-devel sqlite-devel"
short_desc="Another Python SQLite Wrapper (Python2)"
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="python3-devel sqlite-devel"
short_desc="Another Python SQLite Wrapper (Python3)"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="Zlib"
homepage="https://github.com/rogerbinns/apsw"
@ -16,14 +16,10 @@ changelog="https://raw.githubusercontent.com/rogerbinns/apsw/master/doc/changes.
distfiles="${homepage}/archive/${_distver}-${_patchver}.tar.gz"
checksum=33f3ccfd8a7537dccef2caeb8cc06e26f300f1cf547c22c4e8ec8dcfecb72aa0
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}
post_install() {
vlicense LICENSE
}
python3-apsw_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE
}
}