[arch-commits] Commit in python-graphviz/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Tue May 31 20:27:42 UTC 2022
Date: Tuesday, May 31, 2022 @ 20:27:41
Author: alerque
Revision: 1218257
archrelease: copy trunk to community-any
Added:
python-graphviz/repos/community-any/PKGBUILD
(from rev 1218256, python-graphviz/trunk/PKGBUILD)
Deleted:
python-graphviz/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-31 20:27:33 UTC (rev 1218256)
+++ PKGBUILD 2022-05-31 20:27:41 UTC (rev 1218257)
@@ -1,48 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=graphviz
-pkgname=python-graphviz
-pkgver=0.19.1
-pkgrel=1
-pkgdesc='Simple Python interface for Graphviz'
-arch=(any)
-url="https://github.com/xflr6/$_pkgname"
-license=(MIT)
-depends=(graphviz
- python)
-makedepends=(python-{build,installer}
- python-setuptools
- python-wheel)
-checkdepends=(python-mock
- python-pytest
- python-pytest-mock)
-#source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
-_archive="$_pkgname-$pkgver"
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('e1feb29cc94aa812ce5ad49d82176ec4e52f7addc9804be48856a1154d164b38')
-b2sums=('0422c710724ca67994131b98fc63e8f15944a8bd7064949ee0ab4e6196eadb02ed6c6d61f1699cb2e5ab875c8cf06a68078a9c34618c59d616b7c9bb96e3aa4f')
-
-prepare() {
- cd "$_archive"
- # 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 "$_archive"
- python -m build -wn
-}
-
-check() {
- cd "$_archive/tests"
- python -m pytest
-}
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
-}
Copied: python-graphviz/repos/community-any/PKGBUILD (from rev 1218256, python-graphviz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-31 20:27:41 UTC (rev 1218257)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=graphviz
+pkgname=python-graphviz
+pkgver=0.20
+pkgrel=1
+pkgdesc='Simple Python interface for Graphviz'
+arch=(any)
+url="https://github.com/xflr6/$_pkgname"
+license=(MIT)
+depends=(graphviz
+ python)
+makedepends=(python-{build,installer}
+ python-setuptools
+ python-wheel)
+checkdepends=(python-mock
+ python-pytest
+ python-pytest-mock)
+#source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
+_archive="$_pkgname-$pkgver"
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('d6e3467cacfcdc239bcd518107baba9665bb6aadf4f5a4c48c493c3ea2d11466')
+b2sums=('89ba8f217a0fbcfb7e1fee460413fdb3f1d5f301e65a55f3ec3ef7711f4831cc10d33bea9f8457d9322091edc395c1a3ca24bec7048f31e9520b0a8c2e504851')
+
+prepare() {
+ cd "$_archive"
+ # 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 "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive/tests"
+ python -m pytest
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}
More information about the arch-commits
mailing list