[arch-commits] Commit in (6 files)

Balló György bgyorgy at archlinux.org
Mon Jun 7 15:49:43 UTC 2021


    Date: Monday, June 7, 2021 @ 15:49:43
  Author: bgyorgy
Revision: 957765

Add python-getkey and python-fabulous

New dependencies for paperwork.

Added:
  python-fabulous/
  python-fabulous/trunk/
  python-fabulous/trunk/PKGBUILD
  python-getkey/
  python-getkey/trunk/
  python-getkey/trunk/PKGBUILD

--------------------------------+
 python-fabulous/trunk/PKGBUILD |   24 ++++++++++++++++++++++++
 python-getkey/trunk/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Added: python-fabulous/trunk/PKGBUILD
===================================================================
--- python-fabulous/trunk/PKGBUILD	                        (rev 0)
+++ python-fabulous/trunk/PKGBUILD	2021-06-07 15:49:43 UTC (rev 957765)
@@ -0,0 +1,24 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=fabulous
+pkgname=python-fabulous
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Simplified, fast RSS parsing library in Python'
+arch=('any')
+url='https://github.com/jart/fabulous'
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/jart/$_pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz")
+sha256sums=('44e1c2bbb5a7762d78b88eb067f3c41dbe1fdc06f9bc383e81cb4ca45157089f')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}

Added: python-getkey/trunk/PKGBUILD
===================================================================
--- python-getkey/trunk/PKGBUILD	                        (rev 0)
+++ python-getkey/trunk/PKGBUILD	2021-06-07 15:49:43 UTC (rev 957765)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=getkey
+pkgname=python-getkey
+pkgver=0.6.5
+pkgrel=1
+pkgdesc='Python library to easily read single chars and key strokes'
+arch=('any')
+url='https://github.com/kcsaff/getkey'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'flake8')
+checkdepends=('python-pytest-cov')
+source=("https://github.com/kcsaff/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('096792463ed0cd8ac92d7b2b6d23cff1c815b449403115034bed2029b378d54c')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list