Skip to content
Snippets Groups Projects
Commit 6c71e9cd authored by Fabian Affolter's avatar Fabian Affolter Committed by Jakub Jirutka
Browse files

community/py-sqlalchemy: upgrade to 1.1.3 and fix abuild

parent a445e9de
No related branches found
No related tags found
No related merge requests found
......@@ -2,25 +2,22 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-sqlalchemy
_pkgname=SQLAlchemy
pkgver=1.0.14
pkgver=1.1.3
pkgrel=0
pkgdesc="object relational mapper for python"
pkgdesc="An object relational mapper for Python"
url="http://pypi.python.org/pypi/SQLAlchemy"
arch="all"
license="MIT"
depends=""
makedepends="python2-dev py-setuptools python3-dev"
install=""
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
python3 setup.py build || return 1
python3 setup.py build || return 1
}
package() {
......@@ -28,8 +25,9 @@ package() {
}
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
local python="$1"
pkgdesc="$pkgdesc ${python:6:1}"
depends="$depends $python"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"
......@@ -37,14 +35,14 @@ _py() {
}
_py2() {
_py python2
replaces="$pkgname"
_py python2
}
_py3() {
_py python3
}
md5sums="173c9d1ea5cf51893e65d213c280bd2a SQLAlchemy-1.0.14.tar.gz"
sha256sums="da4d1a39c1e99c7fecc2aaa3a050094b6aa7134de7d89f77e6216e7abd1705b3 SQLAlchemy-1.0.14.tar.gz"
sha512sums="ae504f413ca8d803e90f4bb383a32196e9242764c966b42a0dcbac96aa75cd716079e9acd9ed2e4ab621a1224de4675af5407cacc95de47331a3befdbc1ab662 SQLAlchemy-1.0.14.tar.gz"
md5sums="d3a1e8d18f1e51a561db339b847ede0f SQLAlchemy-1.1.3.tar.gz"
sha256sums="8b0ed90292a294e17d24482c9328abe69eb8e3143e2bd7103b6fadae2562638f SQLAlchemy-1.1.3.tar.gz"
sha512sums="b35994f5dc005db7ddc82b353f1cec639e081f5965177e83f7b834af34fdcdfabcf35b45ac6aea3366168c7b0a0d3e95e86b7e84e715e1483039806e976f9e48 SQLAlchemy-1.1.3.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment