[arch-commits] Commit in python-charset-normalizer/trunk (PKGBUILD)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Aug 23 08:00:56 UTC 2022


    Date: Tuesday, August 23, 2022 @ 08:00:56
  Author: alucryd
Revision: 1274925

upgpkg: python-charset-normalizer 2.1.1-1

Modified:
  python-charset-normalizer/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-23 07:58:24 UTC (rev 1274924)
+++ PKGBUILD	2022-08-23 08:00:56 UTC (rev 1274925)
@@ -4,7 +4,7 @@
 # Contributor: Dimitris Kiziridis <ragouel at outlook.com>
 
 pkgname=python-charset-normalizer
-pkgver=2.1.0
+pkgver=2.1.1
 pkgrel=1
 pkgdesc='Encoding and language detection alternative to chardet'
 arch=(any)
@@ -16,13 +16,15 @@
   python-setuptools
 )
 checkdepends=(python-pytest)
-_tag=cb2dbdeb706f4aebcc49a754382b10c2e23dfd7f
+_tag=47c8e714accc5aa8a9446319a9a6f3f002f2e248
 source=(git+https://github.com/Ousret/charset_normalizer.git#tag=${_tag})
 b2sums=(SKIP)
 
 pkgver() {
   cd charset_normalizer
-  git describe --tags
+  _version=$(git describe --tags)
+  sed "s/2.1.0/${_version}/" -i charset_normalizer/version.py
+  echo ${_version}
 }
 
 build() {



More information about the arch-commits mailing list