[arch-commits] Commit in python-apptools/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 06:09:48 UTC 2019
Date: Saturday, October 26, 2019 @ 06:09:47
Author: felixonmars
Revision: 520203
archrelease: copy trunk to community-staging-any
Added:
python-apptools/repos/community-staging-any/
python-apptools/repos/community-staging-any/PKGBUILD
(from rev 520201, python-apptools/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-apptools/repos/community-staging-any/PKGBUILD (from rev 520201, python-apptools/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 06:09:47 UTC (rev 520203)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-apptools'
+pkgver=4.4.0
+pkgrel=5
+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=('00c4e6cb8c8cd59ff0464fe59de356aa6e8a2bd5a106f5841db36dab7f782a7e')
+
+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