diff --git a/srcpkgs/python3-apsw b/srcpkgs/python3-apsw deleted file mode 120000 index 7db0b0b52f4..00000000000 --- a/srcpkgs/python3-apsw +++ /dev/null @@ -1 +0,0 @@ -python-apsw \ No newline at end of file diff --git a/srcpkgs/python-apsw/template b/srcpkgs/python3-apsw/template similarity index 55% rename from srcpkgs/python-apsw/template rename to srcpkgs/python3-apsw/template index 00415c8a4cb..48cc530c1ec 100644 --- a/srcpkgs/python-apsw/template +++ b/srcpkgs/python3-apsw/template @@ -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 " 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 - } -} diff --git a/srcpkgs/python-apsw/update b/srcpkgs/python3-apsw/update similarity index 100% rename from srcpkgs/python-apsw/update rename to srcpkgs/python3-apsw/update