diff options
author | actionless | 2020-03-30 11:21:52 +0200 |
---|---|---|
committer | actionless | 2020-03-30 11:21:52 +0200 |
commit | 2dc8c895232691ed9fd8b2fa04d580fef37e1711 (patch) | |
tree | ab5593b97ddf8fdd8340ecd6cdf69a7acf4f5540 | |
download | aur-2dc8c895232691ed9fd8b2fa04d580fef37e1711.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..eeeba7b4f953 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-gaphas + pkgdesc = Diagramming widget library for Python + pkgver = 2.0.0 + pkgrel = 1 + url = https://github.com/gaphor/gaphas + arch = any + license = BSD + makedepends = python-pip + depends = python-gobject + depends = python-cairo + depends = python-importlib-metadata + source = https://files.pythonhosted.org/packages/py3/g/gaphas/gaphas-2.0.0-py3-none-any.whl + sha256sums = 721888ed6eae2539fffc0a34f10a6593904223b2b334052808f5e799480d96ee + +pkgname = python-gaphas + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f4ac3c3fc519 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg/ +src/ + +gaphas-*-py3-none-any.whl +python-gaphas-*.pkg.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d7a8e359fe6d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Yauhen Kirylau <actionless DOT loveless PLUS aur AT gmail MF com> + +_name=gaphas +pkgname=python-${_name} +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Diagramming widget library for Python" +arch=('any') +url="https://github.com/gaphor/${_name}" +license=('BSD') +depends=( + 'python-gobject' + 'python-cairo' + 'python-importlib-metadata' +) +makedepends=('python-pip') +_wheelname="${_name/-/_}-$pkgver-py3-none-any.whl" +source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_wheelname}") +sha256sums=('721888ed6eae2539fffc0a34f10a6593904223b2b334052808f5e799480d96ee') + +package() { + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps "${_wheelname}" +} + |