[arch-commits] Commit in python-traitlets/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 1 13:30:57 UTC 2019
Date: Friday, November 1, 2019 @ 13:30:56
Author: foutrelis
Revision: 521852
archrelease: copy trunk to community-staging-any
Added:
python-traitlets/repos/community-staging-any/PKGBUILD
(from rev 521851, python-traitlets/trunk/PKGBUILD)
Deleted:
python-traitlets/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-01 13:30:52 UTC (rev 521851)
+++ PKGBUILD 2019-11-01 13:30:56 UTC (rev 521852)
@@ -1,56 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-traitlets
-pkgname=(python-traitlets python2-traitlets)
-pkgver=4.3.3
-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=('3a4f263af65d3d79f1c279f0247077ef'
- '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"
-}
-
Copied: python-traitlets/repos/community-staging-any/PKGBUILD (from rev 521851, python-traitlets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-01 13:30:56 UTC (rev 521852)
@@ -0,0 +1,56 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-traitlets
+pkgname=(python-traitlets python2-traitlets)
+pkgver=4.3.3
+pkgrel=3
+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=('3a4f263af65d3d79f1c279f0247077ef'
+ '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