python-SQLAlchemy: split python3-SQLAlchemy to a new package

This commit is contained in:
Michal Vasilek 2023-06-16 21:52:46 +02:00
parent 17c7ba5eca
commit 8d9f5be6ee
3 changed files with 23 additions and 13 deletions

View File

@ -2,9 +2,9 @@
pkgname=python-SQLAlchemy
version=1.3.18
revision=5
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
build_style=python2-module
hostmakedepends="python-setuptools"
makedepends="python-devel"
short_desc="SQL Toolkit and Object Relational Mapper for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
@ -17,12 +17,3 @@ make_check=no
post_install() {
vlicense LICENSE
}
python3-SQLAlchemy_package() {
short_desc="${short_desc/Python2/Python3}"
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-SQLAlchemy

View File

@ -0,0 +1,20 @@
# Template file for 'python3-SQLAlchemy'
pkgname=python3-SQLAlchemy
version=1.3.18
revision=5
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest-xdist"
short_desc="SQL Toolkit and Object Relational Mapper for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.sqlalchemy.org"
distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz"
checksum=da2fb75f64792c1fc64c82313a00c728a7c301efe6a60b7a9fe35b16b4368ce7
make_check=no # FIXME
post_install() {
vlicense LICENSE
}