David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-ansi2html


Commits:
8e21e445 by David Runge at 2024-04-09T10:14:04+02:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <[email protected]>

- - - - -
16d3c8bb by David Runge at 2024-04-09T10:17:39+02:00
Add nvchecker integration

Signed-off-by: David Runge <[email protected]>

- - - - -
3b373ebf by David Runge at 2024-04-09T10:23:22+02:00
Switch to upstream provided auto-generated source tarball

Signed-off-by: David Runge <[email protected]>

- - - - -
d4ad2142 by David Runge at 2024-04-09T10:26:10+02:00
upgpkg: 1.9.1-1

Remove now included patch

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,21 @@
+pkgbase = python-ansi2html
+       pkgdesc = Convert text with ANSI color codes to HTML
+       pkgver = 1.9.1
+       pkgrel = 1
+       url = https://github.com/pycontribs/ansi2html
+       arch = any
+       license = LGPL-3.0-or-later
+       checkdepends = python-pytest
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
+       makedepends = python-setuptools
+       makedepends = python-setuptools-scm
+       depends = python
+       depends = python-typing_extensions
+       source = 
python-ansi2html-1.9.1.tar.gz::https://github.com/pycontribs/ansi2html/archive/refs/tags/v1.9.1.tar.gz
+       validpgpkeys = 94504C3AE11DD197920058ABA90ED7DE971095FF
+       sha256sums = 
08395451ee39e661ad6e5449ff8334cf30bb9844755c666764c5d6bb08d758c5
+       b2sums = 
39e1ceab8301378812d2dc0f0e8b27f1f26b54040736ffcd0d7bb2078abc6033a8d88884bf9ffa685629d8e0d82502b9bdceb3119e005989285b329354194b25
+
+pkgname = python-ansi2html


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,3 @@
+[python-ansi2html]
+source = "pypi"
+pypi = "ansi2html"


=====================================
PKGBUILD
=====================================
@@ -2,33 +2,25 @@
 
 pkgname=python-ansi2html
 _libname=${pkgname/python-/}
-pkgver=1.8.0
-pkgrel=4
+pkgver=1.9.1
+pkgrel=1
 pkgdesc="Convert text with ANSI color codes to HTML"
 arch=('any')
-url="https://pypi.python.org/pypi/ansi2html";
-license=('LGPL3')
+url="https://github.com/pycontribs/ansi2html";
+license=('LGPL-3.0-or-later')
 depends=(python python-typing_extensions)
 makedepends=(python-build python-installer python-wheel python-setuptools 
python-setuptools-scm)
 checkdepends=(python-pytest)
 source=(
-  
"https://files.pythonhosted.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz";
-  
$pkgname-1.8.0-build_requirements.patch::https://github.com/pycontribs/ansi2html/commit/be9c47dd39e500b2e34e95efde90d0a3b44daaee.patch
+  $pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz
 )
-sha256sums=('38b82a298482a1fa2613f0f9c9beb3db72a8f832eeac58eb2e47bf32cd37f6d5'
-            'b0e15052c5c89e5d76c70e25f4bfeef3d18011ff7efba06d4de74148c3dbb62b')
-b2sums=('66672927a64ad38dce0b0819fabc3778f6aba82d176e992630a8db076988a21af8dd445306b8bb580f1539b35044b95de749d6bfb65c27f9b431e4cb6bd562c7'
-        
'66c922bbfc91b6880224e10bce61981eaf40754f0c44e43905091963de740bc265eaa660491e6f923c7a0b2f91e60728169e2e48cbed0b346667fbe522bc7796')
+sha256sums=('08395451ee39e661ad6e5449ff8334cf30bb9844755c666764c5d6bb08d758c5')
+b2sums=('39e1ceab8301378812d2dc0f0e8b27f1f26b54040736ffcd0d7bb2078abc6033a8d88884bf9ffa685629d8e0d82502b9bdceb3119e005989285b329354194b25')
 validpgpkeys=(94504C3AE11DD197920058ABA90ED7DE971095FF)
 
-prepare() {
-    # drop the use of python-setuptools-scm-git-archive: 
https://github.com/pycontribs/ansi2html/pull/189
-    patch -Np1 -d $_libname-$pkgver -i 
../$pkgname-1.8.0-build_requirements.patch
-}
-
 build() {
     cd "$_libname-$pkgver"
-    python -m build --wheel --no-isolation
+    SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build --wheel 
--no-isolation
 }
 
 check() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ansi2html/-/compare/f5f379cf2e7197bee516593e202cf98813705345...d4ad214266f9504c8b8597324032324fc79b763d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ansi2html/-/compare/f5f379cf2e7197bee516593e202cf98813705345...d4ad214266f9504c8b8597324032324fc79b763d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to