diff --git a/srcpkgs/python-SQLAlchemy/template b/srcpkgs/python-SQLAlchemy/template index 13f5afb7501..f377aa8bf5a 100644 --- a/srcpkgs/python-SQLAlchemy/template +++ b/srcpkgs/python-SQLAlchemy/template @@ -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 " 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 - } -} diff --git a/srcpkgs/python3-SQLAlchemy b/srcpkgs/python3-SQLAlchemy deleted file mode 120000 index 7236787d196..00000000000 --- a/srcpkgs/python3-SQLAlchemy +++ /dev/null @@ -1 +0,0 @@ -python-SQLAlchemy \ No newline at end of file diff --git a/srcpkgs/python3-SQLAlchemy/template b/srcpkgs/python3-SQLAlchemy/template new file mode 100644 index 00000000000..11d3b30242c --- /dev/null +++ b/srcpkgs/python3-SQLAlchemy/template @@ -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 " +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 +}