[arch-commits] Commit in python-pyte/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:10:58 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:10:58
Author: felixonmars
Revision: 748541
archrelease: copy trunk to community-staging-any
Added:
python-pyte/repos/community-staging-any/
python-pyte/repos/community-staging-any/PKGBUILD
(from rev 748540, python-pyte/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pyte/repos/community-staging-any/PKGBUILD (from rev 748540, python-pyte/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:10:58 UTC (rev 748541)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pyte
+pkgver=0.8.0
+pkgrel=5
+pkgdesc='Simple VTXXX-compatible terminal emulator'
+arch=('any')
+license=('LGPL3')
+url='https://github.com/selectel/pyte'
+depends=('python-wcwidth')
+makedepends=('python-setuptools' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/selectel/pyte/archive/$pkgver.tar.gz")
+sha512sums=('c488fd0a61c1dc34b27e12ed9ba1109bb2c331626c982da06e7540bdd168008cb5106a17c71e60e38c493f2dd9f21ba3cf05118928744dfa192d62e511b4c4e8')
+
+build() {
+ cd "$srcdir"/pyte-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/pyte-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd pyte-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list