29 lines
756 B
Bash
29 lines
756 B
Bash
# Template file for 'python-SQLAlchemy'
|
|
pkgname=python-SQLAlchemy
|
|
version=1.3.18
|
|
revision=5
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
short_desc="SQL Toolkit and Object Relational Mapper for Python2"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.sqlalchemy.org"
|
|
distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz"
|
|
checksum=da2fb75f64792c1fc64c82313a00c728a7c301efe6a60b7a9fe35b16b4368ce7
|
|
# no more python2 checks
|
|
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
|
|
}
|
|
}
|