[arch-commits] Commit in python-graphviz/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Aug 13 06:55:52 UTC 2022
Date: Saturday, August 13, 2022 @ 06:55:52
Author: alerque
Revision: 1265855
archrelease: copy trunk to community-any
Added:
python-graphviz/repos/community-any/PKGBUILD
(from rev 1265854, python-graphviz/trunk/PKGBUILD)
Deleted:
python-graphviz/repos/community-any/PKGBUILD
----------+
PKGBUILD | 95 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-13 06:55:37 UTC (rev 1265854)
+++ PKGBUILD 2022-08-13 06:55:52 UTC (rev 1265855)
@@ -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.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
-}
Copied: python-graphviz/repos/community-any/PKGBUILD (from rev 1265854, python-graphviz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-13 06:55:52 UTC (rev 1265855)
@@ -0,0 +1,47 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=graphviz
+pkgname=python-graphviz
+pkgver=0.20.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,wheel}
+ python-setuptools)
+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=('815346b8c2fcd8ccede29623a67bfc30abdbb75749e96128b9d414573d6d8f04')
+b2sums=('65d0b993e01492894b6d245c0869412b4956e5d55f9d8d490505c8f3477dc5ab98739cf0bf1aa1a15c4bacb2db4c2807659ce410ca65503c5876ffdc278e959f')
+
+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