summaryrefslogtreecommitdiff
path: root/python-alembic/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-08-29 11:32:29 +0200
committerErich Eckner <git@eckner.net>2016-08-29 11:32:29 +0200
commit1a5e64cad23981ef19abdba19b7f27565f81d6f6 (patch)
treee8a0b3cfffd680f974fdc0c226c5f14e7c1df840 /python-alembic/PKGBUILD
parent341701444031ecb1830d542dc37349c9905a17c5 (diff)
downloadarchlinuxewe-1a5e64cad23981ef19abdba19b7f27565f81d6f6.tar.xz
python-alembic -1 -> -2
Diffstat (limited to 'python-alembic/PKGBUILD')
-rw-r--r--python-alembic/PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/python-alembic/PKGBUILD b/python-alembic/PKGBUILD
index 1b62f65b8..64c2982e9 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"
}