31 lines
854 B
Bash
31 lines
854 B
Bash
# Template file for 'python-SQLAlchemy'
|
|
pkgname=python-SQLAlchemy
|
|
version=1.0.14
|
|
revision=1
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
makedepends="python-devel python3.4-devel"
|
|
pycompile_module="sqlalchemy"
|
|
short_desc="SQL Toolkit and Object Relational Mapper for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="http://www.sqlalchemy.org/"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz"
|
|
checksum=da4d1a39c1e99c7fecc2aaa3a050094b6aa7134de7d89f77e6216e7abd1705b3
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-SQLAlchemy_package() {
|
|
pycompile_version="3.4"
|
|
pycompile_module="sqlalchemy"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|