summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-07-24 08:07:58 +0200
committeractionless2020-07-24 08:07:58 +0200
commitd9572afab3bddc0f822de1ac29954a18310b5ca6 (patch)
tree4341b35aad8b6e322328a0adb88aa8ee48c66535
parentccdad74ba205f0ee2a469423a4e02df544ae81fd (diff)
downloadaur-d9572afab3bddc0f822de1ac29954a18310b5ca6.tar.gz
remove direct_url.json
see https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb8abe4e36e..d9cc1c7c7e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-gaphor-git
pkgdesc = Simple and easy to use modeling tool for UML using GTK3
- pkgver = 1.2.0.r532.g357674e2
- pkgrel = 2
+ pkgver = 1.2.0.r679.g18405eba
+ pkgrel = 1
url = https://github.com/gaphor/gaphor
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 00614ce92fb..bed0d584120 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_name=gaphor
_pkgname="python-${_name}"
pkgname="${_pkgname}-git"
-pkgver=1.2.0.r532.g357674e2
-pkgrel=2
+pkgver=1.2.0.r679.g18405eba
+pkgrel=1
pkgdesc="Simple and easy to use modeling tool for UML using GTK3"
arch=('x86_64' 'i686')
url="https://github.com/gaphor/${_name}"
@@ -44,6 +44,7 @@ prepare() {
package() {
cd "${srcdir}/${_pkgname}"
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --no-warn-script-location .
+ 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/${_pkgname}/logos/org.gaphor.Gaphor.svg" "$pkgdir"/usr/share/pixmaps/org.gaphor.Gaphor.svg
}