[arch-commits] Commit in python-graphviz/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 18:42:37 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:42:37
  Author: foutrelis
Revision: 753160

archrelease: copy trunk to community-staging-any

Added:
  python-graphviz/repos/community-staging-any/PKGBUILD
    (from rev 753159, python-graphviz/trunk/PKGBUILD)
Deleted:
  python-graphviz/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 18:42:33 UTC (rev 753159)
+++ PKGBUILD	2020-11-12 18:42:37 UTC (rev 753160)
@@ -1,44 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=graphviz
-pkgname=python-graphviz
-pkgver=0.14.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=('92b7637ece63c77e3d39221ae1f4df98e9256cb449e9860c598335b34496d195')
-b2sums=('668c200964867f416e2b15454793fdd0673a110461a85764699727b0430c812e18fb4285e031f5f611ff86bd205cbf927c695015d55ac169a594e616ab74067a')
-
-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-staging-any/PKGBUILD (from rev 753159, python-graphviz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 18:42:37 UTC (rev 753160)
@@ -0,0 +1,44 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=graphviz
+pkgname=python-graphviz
+pkgver=0.14.2
+pkgrel=3
+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=('92b7637ece63c77e3d39221ae1f4df98e9256cb449e9860c598335b34496d195')
+b2sums=('668c200964867f416e2b15454793fdd0673a110461a85764699727b0430c812e18fb4285e031f5f611ff86bd205cbf927c695015d55ac169a594e616ab74067a')
+
+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