[arch-commits] Commit in xdot/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:13:18 UTC 2020
Date: Thursday, November 12, 2020 @ 17:13:18
Author: foutrelis
Revision: 752360
archrelease: copy trunk to community-staging-any
Added:
xdot/repos/community-staging-any/
xdot/repos/community-staging-any/PKGBUILD
(from rev 752359, xdot/trunk/PKGBUILD)
xdot/repos/community-staging-any/xdot.desktop
(from rev 752359, xdot/trunk/xdot.desktop)
--------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
xdot.desktop | 9 +++++++++
2 files changed, 49 insertions(+)
Copied: xdot/repos/community-staging-any/PKGBUILD (from rev 752359, xdot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:13:18 UTC (rev 752360)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Randy Heydon <randy.heydon at clockworklab dot net>
+
+pkgname=xdot
+_pkgname=${pkgname}.py
+pkgver=1.1
+pkgrel=3
+pkgdesc="Interactive viewer for graphs written in Graphviz's dot language"
+url='https://github.com/jrfonseca/xdot.py'
+arch=('any')
+license=('LGPL2.1')
+depends=('graphviz' 'python' 'python-gobject' 'python-cairo' 'gtk3' 'python-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jrfonseca/${_pkgname}/archive/${pkgver}.tar.gz
+ xdot.desktop)
+sha512sums=('d67c45c8c071013551f79d671a21ce546b680fac5997ba9631a882ffa3c44c15a69949643ed5e8211417006152575a1d99450ccfb6062427521d1e2bc0814f55'
+ '7bd7994f03c4d7634a9ab780423f1e9d647df0836fd6d8f825dc0bac6ad506ad44457ba473367d1a16b89d00f441c730cb2b66cb5c300542addcf622be82c867')
+
+prepare() {
+ cd ${_pkgname}-${pkgver}
+ # Don't check for unneeded module (FS#57235)
+ sed -i '/install_requires=/d' setup.py
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py test
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+ install -Dm 644 ../xdot.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+# vim: ts=2 sw=2 et:
Copied: xdot/repos/community-staging-any/xdot.desktop (from rev 752359, xdot/trunk/xdot.desktop)
===================================================================
--- community-staging-any/xdot.desktop (rev 0)
+++ community-staging-any/xdot.desktop 2020-11-12 17:13:18 UTC (rev 752360)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=XDot
+Comment=Interactive viewer for Graphviz dot files
+Exec=xdot %f
+Terminal=false
+Type=Application
+Categories=GTK;DataVisualization;Science;Graphics;
+MimeType=text/vnd.graphviz
+Keywords=graphviz;dot;viewer;graph;
More information about the arch-commits
mailing list