[arch-commits] Commit in python-pydot/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Feb 15 22:58:05 UTC 2020
Date: Saturday, February 15, 2020 @ 22:58:04
Author: arojas
Revision: 571970
archrelease: copy trunk to community-any
Added:
python-pydot/repos/community-any/PKGBUILD
(from rev 571969, python-pydot/trunk/PKGBUILD)
Deleted:
python-pydot/repos/community-any/PKGBUILD
----------+
PKGBUILD | 89 +++++++++++++++++++++++--------------------------------------
1 file changed, 34 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-15 22:57:40 UTC (rev 571969)
+++ PKGBUILD 2020-02-15 22:58:04 UTC (rev 571970)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contrinutor: shining <shiningxc at gmail.com>
-# Contributor: phillid <dbphillipsnz _at_thingy_that_swirly_a_symbol gmaildott comm>
-
-pkgbase=python-pydot
-pkgname=(python-pydot python2-pydot)
-pkgver=1.4.1
-pkgrel=2
-pkgdesc="Python interface to Graphviz's Dot"
-arch=('any')
-url="https://github.com/erocarrera/pydot"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 'python2-pyparsing'
- 'graphviz')
-checkdepends=('python-chardet' 'python2-chardet')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/erocarrera/pydot/archive/v$pkgver.tar.gz")
-sha512sums=('b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938')
-
-prepare() {
- cp -a pydot-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/pydot-$pkgver
- python setup.py build
-
- cd "$srcdir"/pydot-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # https://github.com/pydot/pydot/issues/204
-
- cd "$srcdir"/pydot-$pkgver/test
- PYTHONPATH="$PWD/../build/lib:$PYTHONPATH" python pydot_unittest.py || warning "Tests failed"
-
- cd "$srcdir"/pydot-$pkgver-py2/test
- PYTHONPATH="$PWD/../build/lib:$PYTHONPATH" python2 pydot_unittest.py || warning "Tests failed"
-}
-
-package_python-pydot() {
- depends=('python-pyparsing' 'graphviz')
-
- cd pydot-$pkgver
- python setup.py install -O1 --root="$pkgdir"
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pydot() {
- depends=('python2-pyparsing' 'graphviz')
-
- cd pydot-$pkgver-py2
- python2 setup.py install -O1 --root="$pkgdir"
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pydot/repos/community-any/PKGBUILD (from rev 571969, python-pydot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-15 22:58:04 UTC (rev 571970)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contrinutor: shining <shiningxc at gmail.com>
+# Contributor: phillid <dbphillipsnz _at_thingy_that_swirly_a_symbol gmaildott comm>
+
+pkgname=python-pydot
+pkgver=1.4.1
+pkgrel=3
+pkgdesc="Python interface to Graphviz's Dot"
+arch=('any')
+url="https://github.com/erocarrera/pydot"
+license=('MIT')
+depends=('python-pyparsing' 'graphviz')
+makedepends=('python-setuptools')
+checkdepends=('python-chardet')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/erocarrera/pydot/archive/v$pkgver.tar.gz")
+sha512sums=('b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938')
+
+build() {
+ cd pydot-$pkgver
+ python setup.py build
+}
+
+check() {
+ # https://github.com/pydot/pydot/issues/204
+
+ cd "$srcdir"/pydot-$pkgver/test
+ PYTHONPATH="$PWD/../build/lib:$PYTHONPATH" python pydot_unittest.py || warning "Tests failed"
+}
+
+package() {
+ cd pydot-$pkgver
+ python setup.py install -O1 --root="$pkgdir"
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list