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

Antonio Rojas arojas at gemini.archlinux.org
Sat Jun 11 08:06:16 UTC 2022


    Date: Saturday, June 11, 2022 @ 08:06:16
  Author: arojas
Revision: 1232166

archrelease: copy trunk to community-any

Added:
  asciinema/repos/community-any/PKGBUILD
    (from rev 1232165, asciinema/trunk/PKGBUILD)
Deleted:
  asciinema/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   57 +++++++++++++++++++++++++++++++--------------------------
 1 file changed, 31 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-11 08:06:11 UTC (rev 1232165)
+++ PKGBUILD	2022-06-11 08:06:16 UTC (rev 1232166)
@@ -1,26 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Marcin Kulik <marcin at asciinema.org>
-
-pkgname=asciinema
-pkgver=2.1.0
-pkgrel=2
-pkgdesc='Record and share terminal sessions'
-arch=(any)
-url='https://asciinema.org/'
-license=(GPL3)
-depends=(python)
-makedepends=(git python-setuptools)
-source=('git+https://github.com/asciinema/asciinema#commit=5f958ccc40b04f84341cc0bfafee6d679a8f7c1c') # tag: v2.1.0
-b2sums=(SKIP)
-
-prepare() {
-  echo -e '#!/bin/sh\n/usr/bin/python -m asciinema "$@"' > "$pkgname/asciinema.sh"
-}
-
-package() {
-  cd $pkgname
-  install -Dm755 -t "$pkgdir/usr/bin" asciinema.sh
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# getver: raw.githubusercontent.com/asciinema/asciinema/master/asciinema/__init__.py

Copied: asciinema/repos/community-any/PKGBUILD (from rev 1232165, asciinema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-11 08:06:16 UTC (rev 1232166)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Marcin Kulik <marcin at asciinema.org>
+
+pkgname=asciinema
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='Record and share terminal sessions'
+arch=(any)
+url='https://asciinema.org/'
+license=(GPL3)
+depends=(python python-setuptools python-wheel python-build python-installer)
+makedepends=(git)
+source=('git+https://github.com/asciinema/asciinema#commit=f3af768f569e0b363bcced11d266d4ed857e21e7') # tag: v2.1.0
+b2sums=(SKIP)
+
+prepare() {
+  echo -e '#!/bin/sh\n/usr/bin/python -m asciinema "$@"' > "$pkgname/asciinema.sh"
+}
+
+build() {
+  cd $pkgname
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 -t "$pkgdir/usr/bin" asciinema.sh
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}
+
+# getver: raw.githubusercontent.com/asciinema/asciinema/master/asciinema/__init__.py



More information about the arch-commits mailing list