[arch-commits] Commit in python-graphviz/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Apr 26 22:38:22 UTC 2020
Date: Sunday, April 26, 2020 @ 22:38:21
Author: eschwartz
Revision: 621718
archrelease: copy trunk to community-any
Added:
python-graphviz/repos/community-any/PKGBUILD
(from rev 621717, python-graphviz/trunk/PKGBUILD)
Deleted:
python-graphviz/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-26 22:38:03 UTC (rev 621717)
+++ PKGBUILD 2020-04-26 22:38:21 UTC (rev 621718)
@@ -1,44 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=graphviz
-pkgname=python-graphviz
-pkgver=0.13.2
-pkgrel=2
-pkgdesc="Simple Python interface for Graphviz"
-arch=('any')
-url="https://github.com/xflr6/${_pkgname}"
-license=('MIT')
-depends=('graphviz' 'python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-mock')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
-sha256sums=('60acbeee346e8c14555821eab57dbf68a169e6c10bce40e83c1bf44f63a62a01')
-b2sums=('b6fcaa30e7a446142b745ce28cb361a0fc396e416e1ade5b7fc8b42be856fc1ed8ca4528700a2b856b9930332cab966eee64922676fd21f80a13b8f76c5cee65')
-
-prepare() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- # do not run python-coverage in unittests :/
- sed -i 's/--cov --cov-report=term --cov-report=html//' setup.cfg
- # don't add pointless dependency on python-mock needed on python 3.5
- sed -i '/mock_use_standalone_module/d' setup.cfg
-}
-
-build(){
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python -m pytest
-}
-
-package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
-}
Copied: python-graphviz/repos/community-any/PKGBUILD (from rev 621717, python-graphviz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-26 22:38:21 UTC (rev 621718)
@@ -0,0 +1,44 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=graphviz
+pkgname=python-graphviz
+pkgver=0.14
+pkgrel=1
+pkgdesc="Simple Python interface for Graphviz"
+arch=('any')
+url="https://github.com/xflr6/${_pkgname}"
+license=('MIT')
+depends=('graphviz' 'python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-mock')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
+sha256sums=('e104ba036c8aef84320ec80560e544cd3cad68c9f90394b4e2b87bc44ab09791')
+b2sums=('90be05243302890350551b19fc6dc6789a445a05700e5764a3b1b8e240e2cec23f6d008a44d279e2119236018f707b23071863da1578d328db187baf5512ef98')
+
+prepare() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ # do not run python-coverage in unittests :/
+ sed -i 's/--cov --cov-report=term --cov-report=html//' setup.cfg
+ # don't add pointless dependency on python-mock needed on python 3.5
+ sed -i '/mock_use_standalone_module/d' setup.cfg
+}
+
+build(){
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python -m pytest
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}
More information about the arch-commits
mailing list