[arch-commits] Commit in python-ansi2html/repos/community-any (PKGBUILD PKGBUILD keys)

Florian Pritz bluewind at gemini.archlinux.org
Sun Jul 10 12:50:57 UTC 2022


    Date: Sunday, July 10, 2022 @ 12:50:56
  Author: bluewind
Revision: 1249284

archrelease: copy trunk to community-any

Added:
  python-ansi2html/repos/community-any/PKGBUILD
    (from rev 1249283, python-ansi2html/trunk/PKGBUILD)
  python-ansi2html/repos/community-any/keys/
Deleted:
  python-ansi2html/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   47 ++++++++++++++++++++++++++---------------------
 1 file changed, 26 insertions(+), 21 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-10 12:50:53 UTC (rev 1249283)
+++ PKGBUILD	2022-07-10 12:50:56 UTC (rev 1249284)
@@ -1,21 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-
-pkgname=python-ansi2html
-_libname=${pkgname/python-/}
-pkgver=1.6.0
-pkgrel=3
-pkgdesc="Convert text with ANSI color codes to HTML"
-arch=('any')
-url="https://pypi.python.org/pypi/ansi2html"
-license=('GPL')
-depends=('python-six' 'python-setuptools' 'python-wheel' 'python-pip')
-source=("https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
-md5sums=('52279d05a63449caf698f2d4a250ff72')
-sha256sums=('0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596')
-validpgpkeys=(94504C3AE11DD197920058ABA90ED7DE971095FF)
-
-package() {
-  cd ansi2html-$pkgver
-
-  python setup.py install --root="$pkgdir"  --optimize=1
-}

Copied: python-ansi2html/repos/community-any/PKGBUILD (from rev 1249283, python-ansi2html/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-10 12:50:56 UTC (rev 1249284)
@@ -0,0 +1,26 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=python-ansi2html
+_libname=${pkgname/python-/}
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Convert text with ANSI color codes to HTML"
+arch=('any')
+url="https://pypi.python.org/pypi/ansi2html"
+license=('GPL')
+depends=('python-six' 'python-setuptools' 'python-wheel' 'python-pip')
+makedepends=(python-build python-installer python-wheel python-setuptools-scm python-setuptools-scm-git-archive)
+source=("https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
+md5sums=('21a2e083e288dfe73538bbef1f4291ef')
+sha256sums=('38b82a298482a1fa2613f0f9c9beb3db72a8f832eeac58eb2e47bf32cd37f6d5')
+validpgpkeys=(94504C3AE11DD197920058ABA90ED7DE971095FF)
+
+build() {
+    cd "$_libname-$pkgver"
+    python -m build --wheel --no-isolation
+}
+
+package() {
+    cd "$_libname-$pkgver"
+    python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list