[arch-commits] Commit in python-ansi2html/trunk (4 files)

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


    Date: Sunday, July 10, 2022 @ 12:50:53
  Author: bluewind
Revision: 1249283

upgpkg: python-ansi2html 1.8.0-1: upstream update

Added:
  python-ansi2html/trunk/keys/
  python-ansi2html/trunk/keys/pgp/
  python-ansi2html/trunk/keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc
Modified:
  python-ansi2html/trunk/PKGBUILD

-------------------------------------------------------+
 PKGBUILD                                              |   19 ++++++++++------
 keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc |    1 
 2 files changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-10 12:38:21 UTC (rev 1249282)
+++ PKGBUILD	2022-07-10 12:50:53 UTC (rev 1249283)
@@ -2,20 +2,25 @@
 
 pkgname=python-ansi2html
 _libname=${pkgname/python-/}
-pkgver=1.6.0
-pkgrel=3
+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=('52279d05a63449caf698f2d4a250ff72')
-sha256sums=('0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596')
+md5sums=('21a2e083e288dfe73538bbef1f4291ef')
+sha256sums=('38b82a298482a1fa2613f0f9c9beb3db72a8f832eeac58eb2e47bf32cd37f6d5')
 validpgpkeys=(94504C3AE11DD197920058ABA90ED7DE971095FF)
 
+build() {
+    cd "$_libname-$pkgver"
+    python -m build --wheel --no-isolation
+}
+
 package() {
-  cd ansi2html-$pkgver
-
-  python setup.py install --root="$pkgdir"  --optimize=1
+    cd "$_libname-$pkgver"
+    python -m installer --destdir="$pkgdir" dist/*.whl
 }

Added: keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc
===================================================================
(Binary files differ)

Index: python-ansi2html/trunk/keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc
===================================================================
--- keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc	2022-07-10 12:38:21 UTC (rev 1249282)
+++ keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc	2022-07-10 12:50:53 UTC (rev 1249283)

Property changes on: python-ansi2html/trunk/keys/pgp/94504C3AE11DD197920058ABA90ED7DE971095FF.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property


More information about the arch-commits mailing list