summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-07-24 08:07:01 +0200
committeractionless2020-07-24 08:07:01 +0200
commit56357147a7a4c4f05c3ceb8562d72b54a181f706 (patch)
tree391f0eab8223ca5e2cd773dc73f649fb047cb0d8
parent4bf64710736ecc60e82e3c70dbf9fc723ae5c58b (diff)
downloadaur-56357147a7a4c4f05c3ceb8562d72b54a181f706.tar.gz
remove direct_url.json
see https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 46885b7254b1..4f100467f6a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-gaphor
pkgdesc = Simple and easy to use modeling tool for UML using GTK3
pkgver = 1.2.0
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/gaphor/gaphor
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 4386af6ee0aa..57ad289e686f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_name=gaphor
pkgname=python-${_name}
pkgver=1.2.0
-pkgrel=4
+pkgrel=5
pkgdesc="Simple and easy to use modeling tool for UML using GTK3"
arch=('any')
url="https://github.com/gaphor/${_name}"
@@ -31,6 +31,7 @@ prepare() {
package() {
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --no-warn-script-location "${_wheelname}"
+ rm "${pkgdir}"/usr/lib/python*/site-packages/gaphor-*.dist-info/direct_url.json
install -Dm644 "$srcdir/${_name}.desktop" -t "$pkgdir"/usr/share/applications
install -Dm644 "$srcdir/org.gaphor.Gaphor.svg" "$pkgdir"/usr/share/pixmaps/org.gaphor.Gaphor.svg
}