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

Andrzej Giniewicz aginiewicz at archlinux.org
Thu Mar 14 09:01:04 UTC 2019


    Date: Thursday, March 14, 2019 @ 09:01:03
  Author: aginiewicz
Revision: 440966

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 09:01:00 UTC (rev 440965)
+++ PKGBUILD	2019-03-14 09:01:03 UTC (rev 440966)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-apptools
-pkgname=('python2-apptools' 'python-apptools')
-pkgver=4.4.0
-pkgrel=3
-pkgdesc="Application tools"
-arch=('any')
-url="https://github.com/enthought/apptools"
-license=('BSD')
-makedepends=('python-setuptools' 'python-traits' 'python2-setuptools' 'python2-traits')
-
-source=("apptools-$pkgver.tar.gz::https://github.com/enthought/apptools/archive/${pkgver}.tar.gz")
-md5sums=('7ca7ec191d20533ff7106f3ca3f951c1')
-
-prepare() {
-  cd "$srcdir"
-  cp -a apptools-${pkgver} apptools-py2-${pkgver}
-
-  cd apptools-py2-${pkgver}
-  sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-    $(find "${srcdir}" -name '*.py')
-}
-
-build() {
-  cd "$srcdir"/apptools-py2-$pkgver
-
-  msg "Building Python2"
-  python2 setup.py build
-
-  cd "$srcdir"/apptools-$pkgver
-
-  msg "Building Python3"
-  python setup.py build
-}
-
-package_python2-apptools() {
-  depends=('python2-traits')
-  optdepends=('python2-configobj: for apptools.preferences package'
-              'python2-traitsui: for user interface to apptools')
-  cd "$srcdir"/apptools-py2-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/  --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-apptools() {
-  depends=('python-traits')
-  optdepends=('python-configobj: for apptools.preferences package'
-              'python-traitsui: for user interface to apptools')
-  cd "$srcdir"/apptools-$pkgver
-
-  python setup.py install --root="$pkgdir"/  --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-apptools/repos/community-any/PKGBUILD (from rev 440965, python-apptools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-14 09:01:03 UTC (rev 440966)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-apptools'
+pkgver=4.4.0
+pkgrel=4
+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