[arch-commits] Commit in python-charset-normalizer/repos/community-any (2 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Tue Aug 23 08:01:05 UTC 2022


    Date: Tuesday, August 23, 2022 @ 08:01:05
  Author: alucryd
Revision: 1274926

archrelease: copy trunk to community-any

Added:
  python-charset-normalizer/repos/community-any/PKGBUILD
    (from rev 1274925, python-charset-normalizer/trunk/PKGBUILD)
Deleted:
  python-charset-normalizer/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-23 08:00:56 UTC (rev 1274925)
+++ PKGBUILD	2022-08-23 08:01:05 UTC (rev 1274926)
@@ -1,44 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: lilydjwg <lilydjwg at gmail.com>
-# Contributor: lilac <lilac at build.archlinuxcn.org>
-# Contributor: Dimitris Kiziridis <ragouel at outlook.com>
-
-pkgname=python-charset-normalizer
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='Encoding and language detection alternative to chardet'
-arch=(any)
-url=https://github.com/ousret/charset_normalizer
-license=(MIT)
-depends=(python)
-makedepends=(
-  git
-  python-setuptools
-)
-checkdepends=(python-pytest)
-_tag=cb2dbdeb706f4aebcc49a754382b10c2e23dfd7f
-source=(git+https://github.com/Ousret/charset_normalizer.git#tag=${_tag})
-b2sums=(SKIP)
-
-pkgver() {
-  cd charset_normalizer
-  git describe --tags
-}
-
-build() {
-  cd charset_normalizer
-  python setup.py build
-}
-
-check() {
-  cd charset_normalizer
-  python setup.py test
-}
-
-package() {
-  cd charset_normalizer
-  python setup.py install --root=$pkgdir --optimize=1 --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-charset-normalizer/
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-charset-normalizer/repos/community-any/PKGBUILD (from rev 1274925, python-charset-normalizer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-23 08:01:05 UTC (rev 1274926)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: lilydjwg <lilydjwg at gmail.com>
+# Contributor: lilac <lilac at build.archlinuxcn.org>
+# Contributor: Dimitris Kiziridis <ragouel at outlook.com>
+
+pkgname=python-charset-normalizer
+pkgver=2.1.1
+pkgrel=1
+pkgdesc='Encoding and language detection alternative to chardet'
+arch=(any)
+url=https://github.com/ousret/charset_normalizer
+license=(MIT)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+checkdepends=(python-pytest)
+_tag=47c8e714accc5aa8a9446319a9a6f3f002f2e248
+source=(git+https://github.com/Ousret/charset_normalizer.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd charset_normalizer
+  _version=$(git describe --tags)
+  sed "s/2.1.0/${_version}/" -i charset_normalizer/version.py
+  echo ${_version}
+}
+
+build() {
+  cd charset_normalizer
+  python setup.py build
+}
+
+check() {
+  cd charset_normalizer
+  python setup.py test
+}
+
+package() {
+  cd charset_normalizer
+  python setup.py install --root=$pkgdir --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-charset-normalizer/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list