diff options
Diffstat (limited to 'pcr/python-django-cms/PKGBUILD')
-rw-r--r-- | pcr/python-django-cms/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/python-django-cms/PKGBUILD b/pcr/python-django-cms/PKGBUILD new file mode 100644 index 000000000..7f9e5bf8e --- /dev/null +++ b/pcr/python-django-cms/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor (Arch): Baptiste Jonglez <baptiste--aur at jonglez dot org> +# Contributor (Arch): Fabio Volpe <volpefabio@gmail.com> +# Contributor (Arch): Apkawa <apkawa@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.io> + +# parabola changes and rationale: +# - added replaces for previous pkgname 'django-cms' (2018-02-01) +# - added makedepends: python-setuptools python2-setuptools + +pkgname=("python-django-cms" "python2-django-cms") +pkgbase="python-django-cms" +pkgver=3.4.1 +pkgrel=1 +pkgdesc="An Advanced Django CMS" +url="https://django-cms.org" +arch=('any') +license=('BSD') +makedepends=('python-setuptools' 'python2-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/divio/django-cms/archive/$pkgver.tar.gz") +md5sums=('458e98b6b83edc60088eb48edba16b84') + +package_python-django-cms() { + depends=("python-django" "python-django-classy-tags" "python-django-formtools" "python-treebeard" "python-django-sekizai" "python-djangocms-admin-style") + cd django-cms-$pkgver + python setup.py install --root="${pkgdir}/" --optimize=1 +} + +package_python2-django-cms() { + depends=("python2-django" "python2-django-classy-tags" "python2-django-formtools" "python2-treebeard" "python2-django-sekizai" "python2-djangocms-admin-style") + replaces=("django-cms") + cd django-cms-$pkgver + python setup.py install --root="${pkgdir}/" --optimize=1 +} |