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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:57:10 UTC 2020


    Date: Monday, November 9, 2020 @ 16:57:10
  Author: foutrelis
Revision: 747734

archrelease: copy trunk to community-staging-any

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

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

Copied: python-apptools/repos/community-staging-any/PKGBUILD (from rev 747732, python-apptools/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:57:10 UTC (rev 747734)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-apptools'
+pkgver=4.5.0
+pkgrel=2
+pkgdesc="Application tools"
+arch=('any')
+url="https://github.com/enthought/apptools"
+license=('BSD')
+depends=('python-traits')
+makedepends=('python-setuptools')
+optdepends=('python-configobj: for apptools.preferences package'
+            'python-traitsui: for user interface to apptools')
+source=("apptools-$pkgver.tar.gz::https://github.com/enthought/apptools/archive/${pkgver}.tar.gz")
+sha256sums=('1bf5931d6e8fa79f94d0de20a5cab1eeedc7775fe599628d14aa51d31004e3ee')
+
+build() {
+  cd "$srcdir"/apptools-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/apptools-$pkgver
+
+  python setup.py install --root="$pkgdir"/  --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list