summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18ac0275ed781efe74229c4a815970204c258e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Erhan SAHIN <erhan@ssahin.net>

pkgname="python2-migrate-icehouse"
_pkgname="python2-migrate"
pkgver=0.9
pkgrel=1
pkgdesc="Openstacks database schema migration for SQLAlchemy"
arch=("i686" "x86_64")
url="https://pypi.python.org/pypi/sqlalchemy-migrate"
license=("MIT")

depends=(
  "python2"
  "python2-sqlalchemy"
  "python2-decorator"
  "python2-six"
  "python2-tempita"
)

conflicts=("python2-migrate")
source=("https://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-${pkgver}.tar.gz")
md5sums=("cc058f41f0d4f7c65b6b76bb03fe7c8d")

build() {
  cd "${srcdir}/sqlalchemy-migrate-${pkgver}/"
  python2 setup.py build
}

package() {
  cd "${srcdir}/sqlalchemy-migrate-${pkgver}/"
  python2 setup.py install --root="${pkgdir}/" --optimize=1
}