summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-03-30 11:13:32 +0200
committeractionless2020-03-30 11:13:32 +0200
commit2a1e042f84067fc33650c19759695b6c50f995c5 (patch)
treee722ef5e39c018de01562597e86faeb02501485d
downloadaur-2a1e042f84067fc33650c19759695b6c50f995c5.tar.gz
initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD43
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..927b361df43
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-gaphor-git
+ pkgdesc = Simple and easy to use modeling tool for UML using GTK3
+ pkgver = 1.2.0.r50.g2521a448
+ pkgrel = 1
+ url = https://github.com/gaphor/gaphor
+ arch = x86_64
+ arch = i686
+ license = Apache
+ makedepends = git
+ makedepends = python-pip
+ depends = python-gaphas
+ depends = python-typing_extensions
+ depends = python-generic
+ provides = python-gaphor
+ conflicts = python-gaphor
+ source = python-gaphor::git+https://github.com/gaphor/gaphor.git#branch=master
+ md5sums = SKIP
+
+pkgname = python-gaphor-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..d2426b9d940
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+
+python-gaphor/
+python-gaphor-git-*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e641f626243
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Yauhen Kirylau <actionless DOT loveless PLUS aur AT gmail MF com>
+
+_pkgname=python-gaphor
+pkgname="${_pkgname}-git"
+pkgver=1.2.0.r50.g2521a448
+pkgrel=1
+pkgdesc="Simple and easy to use modeling tool for UML using GTK3"
+arch=('x86_64' 'i686')
+url="https://github.com/gaphor/gaphor"
+license=('Apache')
+source=(
+ "${_pkgname}::git+${url}.git#branch=master"
+)
+md5sums=('SKIP')
+depends=(
+ 'python-gaphas'
+ 'python-typing_extensions'
+ 'python-generic'
+)
+makedepends=(
+ 'git'
+ 'python-pip'
+)
+optdepends=(
+)
+provides=(
+ "${_pkgname}"
+)
+conflicts=(
+ "${_pkgname}"
+)
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps .
+}
+
+# vim: ft=PKGBUILD