summaryrefslogtreecommitdiff
path: root/python-alembic
diff options
context:
space:
mode:
Diffstat (limited to 'python-alembic')
-rw-r--r--python-alembic/PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/python-alembic/PKGBUILD b/python-alembic/PKGBUILD
index 1b62f65b..64c2982e 100644
--- a/python-alembic/PKGBUILD
+++ b/python-alembic/PKGBUILD
@@ -3,28 +3,24 @@
# Former maintainer: Oliver Mangold <o.mangold at gmail dot com>
pkgname=python-alembic
pkgver=0.8.6
-pkgrel=1
+pkgrel=2
pkgdesc="Alembic is a lightweight database migration tool for usage with the SQLAlchemy Database Toolkit for Python 3."
arch=('any')
url='https://bitbucket.org/zzzeek/alembic'
license=('MIT')
depends=('python' 'python-mako' 'python-sqlalchemy' 'python-editor')
makedepends=('python-setuptools')
-source=(https://pypi.python.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz
- https://pypi.python.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz.asc)
-sha256sums=('53403da066ef90cbc5a3f801f3dd39bbbfbc41b0a84eb8c1c806243b7e2c6466'
- 'SKIP')
-# Developers key: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/python-sqlalchemy
-validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
+source=("https://bitbucket.org/zzzeek/alembic/get/rel_${pkgver//./_}.tar.bz2")
+sha512sums=('6a0fce244d54cf34ba8ac683d00c592f63fd5e7216426f24653895d4df5fc6ee8fbe0a9d0c175cec0b42d83f583e0aa3a989f3d88aabefb6d6fca6ff75612d40')
build() {
- cd "${srcdir}/alembic-${pkgver}"
+ cd "${srcdir}/zzzeek-${pkgname#*-}-"*
python setup.py build
}
package() {
- cd "${srcdir}/alembic-${pkgver}"
+ cd "${srcdir}/zzzeek-${pkgname#*-}-"*
python setup.py install --root "${pkgdir}"
install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m 644 "${srcdir}/alembic-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -m 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}