diff options
author | Erich Eckner <git@eckner.net> | 2016-08-23 14:58:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-08-23 14:58:50 +0200 |
commit | 190fac63cb1511274825c7a5f469fbfcc2126851 (patch) | |
tree | 71691b81e3ca92e7306ed2431424afe7fdc81c80 | |
parent | 262c278ed0eea4b7607a939108fbe7c8b8c29671 (diff) | |
download | archlinuxewe-190fac63cb1511274825c7a5f469fbfcc2126851.tar.xz |
python-alembic neu
-rw-r--r-- | python-alembic/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
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 <arch at eckner dot net> +# Contributor: googol <googol@posteo.de> +# Former maintainer: Oliver Mangold <o.mangold at gmail dot com> +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" +} |