diff options
author | MawcomW | 2015-06-14 22:23:49 -0300 |
---|---|---|
committer | MawcomW | 2015-06-14 22:23:49 -0300 |
commit | 07ea56e0b18a680189d859ffd30bd8fe6250e037 (patch) | |
tree | cb1f49d10aae2e88286cc222f7a9cffe5b512658 /PKGBUILD | |
download | aur-07ea56e0b18a680189d859ffd30bd8fe6250e037.tar.gz |
Initial import.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..742c6abc623b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: mawcomw <mawcomw@gmail.com> + +pkgbase=python-django-reversion +pkgname=('python-django-reversion' 'python2-django-reversion') +pkgver=1.8.2 +pkgrel=2 +arch=('i686' 'x86_64') +url="http://github.com/etianen/django-reversion" +license=('BSD') +makedepends=('python2' 'python') +source=("https://pypi.python.org/packages/source/d/django-reversion/django-reversion-$pkgver.tar.gz") +md5sums=('b00c492284c776a69ff6cc43247be682') + +prepare() { + cp -r django-reversion-${pkgver} python2-django-reversion-${pkgver} +} + +build() { + cd $srcdir/django-reversion-${pkgver} + python setup.py build + + cd $srcdir/python2-django-reversion-${pkgver} + python2 setup.py build +} + +#check(){ +# cd $srcdir/django-reversion-${pkgver} +# python setup.py test +# +# cd $srcdir/python2-django-reversion-${pkgver} +# python2 setup.py test +#} + +package_python-django-reversion() { + depends=('python' ) + pkgdesc="An python3 extension to the Django web framework that provides comprehensive version control facilities" + + cd $srcdir/django-reversion-${pkgver} + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-django-reversion() { + depends=('python2' ) + pkgdesc="An python2 extension to the Django web framework that provides comprehensive version control facilities" + + cd python2-django-reversion-${pkgver} + python2 setup.py install --root="${pkgdir}" --optimize=1 + + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE +}
\ No newline at end of file |