[arch-commits] Commit in python-graphviz/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri Dec 25 16:00:18 UTC 2020
Date: Friday, December 25, 2020 @ 16:00:17
Author: eschwartz
Revision: 790851
archrelease: copy trunk to community-any
Added:
python-graphviz/repos/community-any/PKGBUILD
(from rev 790850, python-graphviz/trunk/PKGBUILD)
Deleted:
python-graphviz/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-25 16:00:03 UTC (rev 790850)
+++ PKGBUILD 2020-12-25 16:00:17 UTC (rev 790851)
@@ -1,44 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=graphviz
-pkgname=python-graphviz
-pkgver=0.15
-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=('2b85f105024e229ec330fe5067abbe9aa0d7708921a585ecc2bf56000bf5e027')
-b2sums=('81d4a121ca2654e6c08570ede7a1f5ef580b6a281358bf32f4178898fc12cfae21b10ce8f4f6fba4644e3275162cc09dbf5ae287a114fb8503be98d6a2fbf728')
-
-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 790850, python-graphviz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-25 16:00:17 UTC (rev 790851)
@@ -0,0 +1,44 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=graphviz
+pkgname=python-graphviz
+pkgver=0.16
+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=('d2d25af1c199cad567ce4806f0449cb74eb30cf451fd7597251e1da099ac6e57')
+b2sums=('abedbe170eaf9d3ad83f91b5ad13aa9fbda8669ac19ebbd1087aeab3f9401b0b8e6557313e04d791451ee501c75bc2843d89d1a0f789a219b0db771467b4b8bb')
+
+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