pyrseas: import, version 0.4.0

This commit is contained in:
Marti Raudsepp 2011-10-18 15:57:04 +03:00
commit 1a4307dfe0
2 changed files with 41 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = pyrseas
pkgdesc = Framework and utilities to upgrade and maintain a relational database
pkgver = 0.4.0
pkgrel = 1
url = http://www.pyrseas.org/
arch = any
license = BSD
depends = python2
depends = python2-distribute
depends = python2-psycopg2
depends = python2-yaml
source = http://pypi.python.org/packages/source/P/Pyrseas/Pyrseas-0.4.0.tar.gz
md5sums = 2673f3561d71397c1c57a9beabb58c04
pkgname = pyrseas

25
PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: Marti Raudsepp <marti@juffo.org>
pkgname=pyrseas
_pkgname=Pyrseas
pkgver=0.4.0
pkgrel=1
pkgdesc="Framework and utilities to upgrade and maintain a relational database"
arch=(any)
url="http://www.pyrseas.org/"
license=('BSD')
depends=('python2' 'python2-distribute' 'python2-psycopg2' 'python2-yaml')
conflicts=()
source=(http://pypi.python.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz)
build() {
cd $srcdir/$_pkgname-$pkgver/
python2 setup.py install --root=$pkgdir
# XXX why are Pyrseas-0.4.0-py2.7.egg-info/* files not world-readable?
chmod a+r -R "$pkgdir/usr/lib"
install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
install -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
}
md5sums=('2673f3561d71397c1c57a9beabb58c04')