mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
testing/py-sqlalchemy7: new aport
This commit is contained in:
parent
95b639d89d
commit
d2b197533c
1 changed files with 41 additions and 0 deletions
41
testing/py-sqlalchemy7/APKBUILD
Normal file
41
testing/py-sqlalchemy7/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
||||
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
||||
pkgname=py-sqlalchemy7
|
||||
_pkgname=SQLAlchemy
|
||||
pkgver=0.7.10
|
||||
pkgrel=0
|
||||
pkgdesc="object relational mapper for python"
|
||||
url="http://pypi.python.org/pypi/SQLAlchemy"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends=""
|
||||
depends_dev=""
|
||||
makedepends="python-dev py-setuptools"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/$_pkgname-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
python setup.py build || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
||||
}
|
||||
|
||||
md5sums="ecc0cd1cd906d17818a5f08fe13ae19e SQLAlchemy-0.7.10.tar.gz"
|
||||
sha256sums="77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SQLAlchemy-0.7.10.tar.gz"
|
||||
sha512sums="631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 SQLAlchemy-0.7.10.tar.gz"
|
Loading…
Add table
Add a link
Reference in a new issue