Skip to content
Snippets Groups Projects
Commit 533881aa authored by Andrzej Giniewicz's avatar Andrzej Giniewicz
Browse files

python-traits: new upstream release

parent 3f2ba497
No related branches found
No related tags found
No related merge requests found
......@@ -2,37 +2,37 @@
pkgbase=python-traits
pkgname=('python2-traits' 'python-traits')
pkgver=4.6.0
pkgrel=3
pkgver=5.0.0
pkgrel=1
pkgdesc="Explicitly typed attributes for Python"
arch=('x86_64')
url="https://github.com/enthought/traits"
license=('BSD')
makedepends=('python-setuptools' 'python-numpy' 'python2-setuptools' 'python2-numpy')
source=("traits-${pkgver}.tar.gz::https://github.com/enthought/traits/archive/${pkgver}.tar.gz")
md5sums=('32516d033347e983c12d8fa482642636')
source=("traits-${pkgver}.tar.gz::https://github.com/enthought/traits/archive/release/${pkgver}.tar.gz")
sha1sums=('22571e71a65d0c521ce9267e10c0ac0a1fc63999')
prepare() {
cd "$srcdir"
cp -a traits-${pkgver} traits-py2-${pkgver}
cp -a traits-release-${pkgver} traits-release-py2-${pkgver}
}
build() {
cd "$srcdir"/traits-py2-$pkgver
cd "$srcdir"/traits-release-py2-$pkgver
msg "Building Python2"
# "Building Python2"
python2 setup.py build
cd "$srcdir"/traits-$pkgver
cd "$srcdir"/traits-release-$pkgver
msg "Building Python3"
# "Building Python3"
python setup.py build
}
package_python2-traits() {
depends=('python2-numpy')
cd "$srcdir"/traits-py2-$pkgver
cd "$srcdir"/traits-release-py2-$pkgver
python2 setup.py install --root="$pkgdir"/ --optimize=1
......@@ -41,7 +41,7 @@ package_python2-traits() {
package_python-traits() {
depends=('python-numpy')
cd "$srcdir"/traits-$pkgver
cd "$srcdir"/traits-release-$pkgver
python setup.py install --root="$pkgdir"/ --optimize=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment