[arch-commits] Commit in python-traitsui/repos/community-any (PKGBUILD PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Thu Mar 14 09:03:47 UTC 2019


    Date: Thursday, March 14, 2019 @ 09:03:47
  Author: aginiewicz
Revision: 440968

archrelease: copy trunk to community-any

Added:
  python-traitsui/repos/community-any/PKGBUILD
    (from rev 440967, python-traitsui/trunk/PKGBUILD)
Deleted:
  python-traitsui/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   78 +++++++++++++++++++++----------------------------------------
 1 file changed, 27 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 09:03:44 UTC (rev 440967)
+++ PKGBUILD	2019-03-14 09:03:47 UTC (rev 440968)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-traitsui
-pkgname=('python2-traitsui' 'python-traitsui')
-pkgver=6.0.0
-pkgrel=2
-pkgdesc="Traits-capable user interfaces"
-arch=('any')
-url="https://github.com/enthought/traitsui"
-license=('BSD')
-makedepends=('python-setuptools' 'python-pyface' 'python2-setuptools' 'python2-pyface')
-
-source=("traitsui-${pkgver}.tar.gz::https://github.com/enthought/traitsui/archive/${pkgver}.tar.gz")
-md5sums=('4fd82bf5963f27860601064520f2d840')
-
-prepare() {
-  cd "$srcdir"
-  cp -a traitsui-${pkgver} traitsui-py2-${pkgver}
-}
-
-build() {
-  cd "$srcdir"/traitsui-py2-$pkgver
-
-  msg "Building Python2"
-  python2 setup.py build
-
-  cd "$srcdir"/traitsui-$pkgver
-
-  msg "Building Python3"
-  python setup.py build
-}
-
-package_python2-traitsui() {
-  depends=('python2-pyface')
-  cd "$srcdir"/traitsui-py2-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-traitsui() {
-  depends=('python-pyface')
-  cd "$srcdir"/traitsui-$pkgver
-
-  python setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-traitsui/repos/community-any/PKGBUILD (from rev 440967, python-traitsui/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-14 09:03:47 UTC (rev 440968)
@@ -0,0 +1,27 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-traitsui'
+pkgver=6.0.0
+pkgrel=3
+pkgdesc="Traits-capable user interfaces"
+arch=('any')
+url="https://github.com/enthought/traitsui"
+license=('BSD')
+depends=('python-pyface')
+makedepends=('python-setuptools')
+source=("traitsui-${pkgver}.tar.gz::https://github.com/enthought/traitsui/archive/${pkgver}.tar.gz")
+sha256sums=('8ac096486f9a8615ad4c15276e3aaa55810e89ef029d358b1421c26501921f9a')
+
+build() {
+  cd "$srcdir"/traitsui-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/traitsui-$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