[arch-commits] Commit in python-easygui/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:15:33 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:15:32
  Author: felixonmars
Revision: 519956

archrelease: copy trunk to community-staging-any

Added:
  python-easygui/repos/community-staging-any/
  python-easygui/repos/community-staging-any/PKGBUILD
    (from rev 519953, python-easygui/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-easygui/repos/community-staging-any/PKGBUILD (from rev 519953, python-easygui/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:15:32 UTC (rev 519956)
@@ -0,0 +1,28 @@
+# Contributor: Simon Thorpe <simon at hivetechnology.com.au>
+# Contributor: James Pearson <james.m.pearson+arch at gmail.com>
+
+pkgname=python-easygui
+_pyname=easygui
+pkgver=0.98.1
+pkgrel=3
+pkgdesc="Python module for very simple, very easy GUI programming"
+url="https://easygui.readthedocs.io"
+license=('BSD')
+arch=('any')
+depends=('python' 'tk')
+makedepends=('python-setuptools')
+source=("$_pyname-$pkgver.tar.gz::https://github.com/robertlugg/$_pyname/archive/$pkgver.tar.gz")
+sha256sums=('b46d1f06b85a2de2b15129906d21bb42bc66a6e800315fed57e634cf151fc083')
+
+build() {
+  cd $_pyname-$pkgver
+  python setup.py build
+}
+
+package(){
+  cd $_pyname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+  sed -n '/LICENSE INFORMATION/,/"""/ p' setup.py > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list