[arch-commits] Commit in pylint/trunk (PKGBUILD)
Date: Sunday, February 4, 2018 @ 18:57:11 Author: angvp Revision: 315863 upgpkg: pylint 1.8.2-2 Add graphviz as an optdepend FS#53362 Modified: pylint/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-02-04 18:41:37 UTC (rev 315862) +++ PKGBUILD2018-02-04 18:57:11 UTC (rev 315863) @@ -7,7 +7,7 @@ pkgbase=pylint pkgname=('python-pylint' 'python2-pylint') pkgver=1.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" arch=('any') url="http://pylint.org; @@ -17,7 +17,8 @@ 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') -optdepends=('tk: Pylint GUI') +optdepends=('tk: Pylint GUI' +'graphviz: To have other output formats than dot or vcg') source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz;) sha512sums=('ac0e7d53b5482435b0579b475684bb725358f21ae3a09d15fdf01bb51dd06f9204c4be3b17de69d4e11d1fed38820f0046625030928ca5699f2828c8f2a44716')
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Sunday, February 4, 2018 @ 18:57:38 Author: angvp Revision: 315864 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 315863, pylint/trunk/PKGBUILD) --+ PKGBUILD | 79 + 1 file changed, 79 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 315863, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-02-04 18:57:38 UTC (rev 315864) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Angel Velasquez+# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.8.2 +pkgrel=2 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI' +'graphviz: To have other output formats than dot or vcg') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz;) +sha512sums=('ac0e7d53b5482435b0579b475684bb725358f21ae3a09d15fdf01bb51dd06f9204c4be3b17de69d4e11d1fed38820f0046625030928ca5699f2828c8f2a44716') + +prepare() { + sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py + + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint-pylint-$pkgver + python setup.py build + + cd "$srcdir"/pylint-pylint-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint-pylint-$pkgver + python setup.py pytest + + cd "$srcdir"/pylint-pylint-$pkgver-py2 + python2 setup.py pytest +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort') + + cd pylint-pylint-$pkgver + + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 + + install -d "$pkgdir"/usr/share/man/man1 + install -m644 man/* "$pkgdir"/usr/share/man/man1 +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 'python2-isort' + 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') + + cd pylint-pylint-$pkgver-py2 + + python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 + + install -d "$pkgdir"/usr/share/man/man1 + install -m644 man/* "$pkgdir"/usr/share/man/man1 + + for _exe in epylint pylint pyreverse symilar; do + mv "$pkgdir"/usr/bin/${_exe}{,2} + mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 + done +}
[arch-commits] Commit in django/trunk (PKGBUILD)
Date: Sunday, February 4, 2018 @ 18:41:14 Author: angvp Revision: 315861 upgpkg: django 1.11.10-1 Version bump to 1.11.10 Modified: django/trunk/PKGBUILD --+ PKGBUILD |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-02-04 15:06:31 UTC (rev 315860) +++ PKGBUILD2018-02-04 18:41:14 UTC (rev 315861) @@ -1,10 +1,11 @@ # $Id$ +# Maintainer: Angel Velasquez# Maintainer: Dan McGee # Contributor: Shahar Weiss pkgbase=django pkgname=('python-django' 'python2-django') -pkgver=1.11.2 +pkgver=1.11.10 pkgrel=1 pkgdesc="A high-level Python Web framework that encourages rapid development and clean design" arch=('any') @@ -12,7 +13,8 @@ url="http://www.djangoproject.com/; makedepends=('python2' 'python2-setuptools' 'python' 'python-setuptools') source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/;) -sha512sums=('0f1187fd03064b966241d6ed1a869d6f155af2598a7b9c8b2f902585265cb6df7236817e5f14907c362ce7420d08e881ff9461f14d673485be3b3e5c3d980e8e') +sha512sums=('fb0b5ed29590dba87ab3776987cfd3df5d87dc827d8cb0efb0cf65a32c3a40abb4dde74f3d6b9c9366b675f8d3e175f7e647edda64811b1be74210195f29779b') +sha256sums=('22383567385a9c406d8a5ce080a2694c82c6b733e157922197e8b393bb3aacd9') prepare() { cp -a "$srcdir/Django-$pkgver" "$srcdir/Django-$pkgver-python2"
[arch-commits] Commit in django/repos/extra-any (PKGBUILD PKGBUILD)
Date: Sunday, February 4, 2018 @ 18:41:37 Author: angvp Revision: 315862 archrelease: copy trunk to extra-any Added: django/repos/extra-any/PKGBUILD (from rev 315861, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD --+ PKGBUILD | 140 ++--- 1 file changed, 71 insertions(+), 69 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-02-04 18:41:14 UTC (rev 315861) +++ PKGBUILD2018-02-04 18:41:37 UTC (rev 315862) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Dan McGee-# Contributor: Shahar Weiss - -pkgbase=django -pkgname=('python-django' 'python2-django') -pkgver=1.11.2 -pkgrel=1 -pkgdesc="A high-level Python Web framework that encourages rapid development and clean design" -arch=('any') -license=('BSD') -url="http://www.djangoproject.com/; -makedepends=('python2' 'python2-setuptools' 'python' 'python-setuptools') -source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/;) -sha512sums=('0f1187fd03064b966241d6ed1a869d6f155af2598a7b9c8b2f902585265cb6df7236817e5f14907c362ce7420d08e881ff9461f14d673485be3b3e5c3d980e8e') - -prepare() { - cp -a "$srcdir/Django-$pkgver" "$srcdir/Django-$pkgver-python2" - - find "$srcdir/Django-$pkgver-python2" -name '*.py' | \ -xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" -} - -build() { - cd "$srcdir/Django-$pkgver" - python setup.py build - - cd "$srcdir/Django-$pkgver-python2" - python2 setup.py build -} - -package_python-django() { - depends=('python' 'python-setuptools' 'python-pytz') - optdepends=('python-psycopg2: for PostgreSQL backend') - cd "$srcdir/Django-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 - - ln -s django-admin.py "$pkgdir"/usr/bin/django-admin3.py - ln -s django-admin "$pkgdir"/usr/bin/django-admin3 - install -Dm644 extras/django_bash_completion \ -"$pkgdir"/usr/share/bash-completion/completions/django-admin.py - ln -s django-admin.py \ -"$pkgdir"/usr/share/bash-completion/completions/django-admin - ln -s django-admin.py \ -"$pkgdir"/usr/share/bash-completion/completions/manage.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-django() { - depends=('python2' 'python2-setuptools' 'python2-pytz') - optdepends=('mysql-python: for MySQL backend' - 'python2-psycopg2: for PostgreSQL backend') - replaces=('django') - conflicts=('django') - cd "$srcdir/Django-$pkgver-python2" - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin2.py - mv "$pkgdir"/usr/bin/django-admin "$pkgdir"/usr/bin/django-admin2 - # TODO: this probably won't work due to the `complete` command within not - # knowing about modified our exectuable names - install -Dm644 extras/django_bash_completion \ -"$pkgdir"/usr/share/bash-completion/completions/django-admin2.py - ln -s django-admin2.py \ -"$pkgdir"/usr/share/bash-completion/completions/django-admin2 - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: django/repos/extra-any/PKGBUILD (from rev 315861, django/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-02-04 18:41:37 UTC (rev 315862) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Dan McGee +# Contributor: Shahar Weiss + +pkgbase=django +pkgname=('python-django' 'python2-django') +pkgver=1.11.10 +pkgrel=1 +pkgdesc="A high-level Python Web framework that encourages rapid development and clean design" +arch=('any') +license=('BSD') +url="http://www.djangoproject.com/; +makedepends=('python2' 'python2-setuptools' 'python' 'python-setuptools') +source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/;) +sha512sums=('fb0b5ed29590dba87ab3776987cfd3df5d87dc827d8cb0efb0cf65a32c3a40abb4dde74f3d6b9c9366b675f8d3e175f7e647edda64811b1be74210195f29779b') +sha256sums=('22383567385a9c406d8a5ce080a2694c82c6b733e157922197e8b393bb3aacd9') + +prepare() { + cp -a "$srcdir/Django-$pkgver" "$srcdir/Django-$pkgver-python2" + + find "$srcdir/Django-$pkgver-python2" -name '*.py' | \ +xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" +} + +build() { + cd "$srcdir/Django-$pkgver" + python setup.py build + + cd "$srcdir/Django-$pkgver-python2" + python2 setup.py build +} + +package_python-django() { + depends=('python' 'python-setuptools' 'python-pytz') + optdepends=('python-psycopg2: for PostgreSQL backend') + cd "$srcdir/Django-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + + ln -s django-admin.py "$pkgdir"/usr/bin/django-admin3.py + ln -s django-admin