[arch-commits] Commit in python-traits/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:40 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:20:40
Author: felixonmars
Revision: 1058053
archrelease: copy trunk to community-staging-x86_64
Added:
python-traits/repos/community-staging-x86_64/
python-traits/repos/community-staging-x86_64/PKGBUILD
(from rev 1058051, python-traits/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-traits/repos/community-staging-x86_64/PKGBUILD (from rev 1058051, python-traits/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-30 20:20:40 UTC (rev 1058053)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname=python-traits
+pkgver=6.2.0
+pkgrel=2
+pkgdesc="Explicitly typed attributes for Python"
+arch=('x86_64')
+url="https://github.com/enthought/traits"
+license=('BSD')
+depends=('python')
+optdepends=('python-numpy: to support the trait types for arrays'
+ 'python-traitsui: to support Gui Views')
+makedepends=('python-setuptools')
+source=("traits-${pkgver}.tar.gz::https://github.com/enthought/traits/archive/${pkgver}.tar.gz")
+sha256sums=('8ff62fca0b347fd0f7aa43f236d4dd673e663971a2e3c6ac961efd5ddc1c7d91')
+
+build() {
+ cd "$srcdir"/traits-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/traits-$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