Date: Tuesday, December 15, 2020 @ 05:50:53
  Author: kkeen
Revision: 775840

upgpkg: python-traitlets 5.0.5-1

Modified:
  python-traitlets/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++----------------------------
 1 file changed, 9 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-12-15 05:26:12 UTC (rev 775839)
+++ PKGBUILD    2020-12-15 05:50:53 UTC (rev 775840)
@@ -1,40 +1,32 @@
 # Maintainer: Kyle Keen <keen...@gmail.com>
 
-pkgbase=python-traitlets
-pkgname=(python-traitlets python2-traitlets)
-pkgver=4.3.3
-pkgrel=5
+pkgname=python-traitlets
+pkgver=5.0.5
+pkgrel=1
 pkgdesc="A configuration system for Python applications."
 arch=('any')
 url="https://traitlets.readthedocs.io/en/stable/";
 license=('BSD')
 depends=('python-decorator')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
 
 
source=("https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-$pkgver.tar.gz";
-        
"https://pypi.python.org/packages/source/i/ipython_genutils/ipython_genutils-0.1.0.tar.gz";)
-md5sums=('3a4f263af65d3d79f1c279f0247077ef'
-         '9a8afbe0978adbcbfcb3b35b2d015a56')
+        
"https://pypi.python.org/packages/source/i/ipython_genutils/ipython_genutils-0.2.0.tar.gz";)
+md5sums=('2ffe54aee5d0d87890127dd28ce3f6c4'
+         '5a4f9781f78466da0ea1a648f3e1f79f')
 
-
 # ipython_genutils does not deserve a package
 # "Pretend this doesn’t exist. Nobody should use it."
 # "Vestigial IPython utilities: DO NOT USE"
 # (still required for now though, but drop at first chance)
 
-prepare() {
-  cd "$srcdir"
-  cp -r traitlets-$pkgver      python2-traitlets-$pkgver
-  cp -r ipython_genutils-0.1.0 ipython2_genutils-0.1.0
-}
-
 build() {
   cd "$srcdir"
 }
 
-package_python-traitlets() {
+package() {
   # TEMPORARY!
-  cd "$srcdir/ipython_genutils-0.1.0"
+  cd "$srcdir/ipython_genutils-0.2.0"
   python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
 
   cd "$srcdir/traitlets-$pkgver"
@@ -42,14 +34,3 @@
   install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
-package_python2-traitlets() {
-  depends=('python2-decorator' 'python2-enum34')
-
-  # TEMPORARY!
-  cd "$srcdir/ipython2_genutils-0.1.0"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir/python2-traitlets-$pkgver"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Reply via email to