[arch-commits] Commit in python-traitlets/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 16:59:55 UTC 2021


    Date: Tuesday, November 30, 2021 @ 16:59:55
  Author: felixonmars
Revision: 1057857

archrelease: copy trunk to community-staging-any

Added:
  python-traitlets/repos/community-staging-any/
  python-traitlets/repos/community-staging-any/PKGBUILD
    (from rev 1057856, python-traitlets/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-traitlets/repos/community-staging-any/PKGBUILD (from rev 1057856, python-traitlets/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 16:59:55 UTC (rev 1057857)
@@ -0,0 +1,35 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-traitlets
+pkgver=5.1.0
+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')
+
+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.2.0.tar.gz")
+md5sums=('19483ec0685e837912cff128209aa845'
+         '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)
+
+build() {
+  cd "$srcdir"
+}
+
+package() {
+  # TEMPORARY!
+  cd "$srcdir/ipython_genutils-0.2.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"
+}



More information about the arch-commits mailing list