From 190fac63cb1511274825c7a5f469fbfcc2126851 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 Aug 2016 14:58:50 +0200 Subject: python-alembic neu --- python-alembic/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 python-alembic/PKGBUILD diff --git a/python-alembic/PKGBUILD b/python-alembic/PKGBUILD new file mode 100644 index 000000000..1b62f65b8 --- /dev/null +++ b/python-alembic/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Erich Eckner +# Contributor: googol +# Former maintainer: Oliver Mangold +pkgname=python-alembic +pkgver=0.8.6 +pkgrel=1 +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') + +build() { + cd "${srcdir}/alembic-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/alembic-${pkgver}" + 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" +} -- cgit v1.2.3-70-g09d2