void-packages/srcpkgs/python-SQLAlchemy/template

29 lines
799 B
Bash

# Template file for 'python-SQLAlchemy'
pkgname=python-SQLAlchemy
version=1.3.18
revision=1
wrksrc="SQLAlchemy-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
checkdepends="python3-mock python3-pytest
python-mock python-pytest"
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
post_install() {
vlicense LICENSE
}
python3-SQLAlchemy_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}