2014-08-05 02:32:32 +02:00
|
|
|
# Template file for 'python-SQLAlchemy'
|
|
|
|
pkgname=python-SQLAlchemy
|
2015-07-29 01:16:12 +02:00
|
|
|
version=1.0.8
|
2014-08-05 02:32:32 +02:00
|
|
|
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"
|
2014-10-29 16:16:00 +01:00
|
|
|
distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz"
|
2015-07-29 01:16:12 +02:00
|
|
|
checksum=950c79c0abf9e9f99c43c627c51d40d14a946810a90c35e7cd827bfd0bffe46f
|
2014-08-05 02:32:32 +02:00
|
|
|
|
|
|
|
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
|
2015-03-15 15:50:15 +01:00
|
|
|
vlicense LICENSE
|
2014-08-05 02:32:32 +02:00
|
|
|
}
|
|
|
|
}
|