[arch-commits] Commit in python-traitlets/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Mon Oct 10 03:13:23 UTC 2016
Date: Monday, October 10, 2016 @ 03:13:22
Author: kkeen
Revision: 191776
archrelease: copy trunk to community-any
Added:
python-traitlets/repos/community-any/PKGBUILD
(from rev 191775, python-traitlets/trunk/PKGBUILD)
Deleted:
python-traitlets/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-10 03:13:06 UTC (rev 191775)
+++ PKGBUILD 2016-10-10 03:13:22 UTC (rev 191776)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-traitlets
-pkgname=(python-traitlets python2-traitlets)
-pkgver=4.3.1
-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')
-
-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=('dd0b1b6e5d31ce446d55a4b5e5083c98'
- '9a8afbe0978adbcbfcb3b35b2d015a56')
-
-
-# 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() {
- # TEMPORARY!
- cd "$srcdir/ipython_genutils-0.1.0"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
- cd "$srcdir/traitlets-$pkgver"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-traitlets() {
- depends=('python2-decorator')
-
- # 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"
-}
-
Copied: python-traitlets/repos/community-any/PKGBUILD (from rev 191775, python-traitlets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-10 03:13:22 UTC (rev 191776)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-traitlets
+pkgname=(python-traitlets python2-traitlets)
+pkgver=4.3.1
+pkgrel=2
+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')
+
+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=('dd0b1b6e5d31ce446d55a4b5e5083c98'
+ '9a8afbe0978adbcbfcb3b35b2d015a56')
+
+
+# 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() {
+ # TEMPORARY!
+ cd "$srcdir/ipython_genutils-0.1.0"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+ cd "$srcdir/traitlets-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ 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"
+}
+
More information about the arch-commits
mailing list