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

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 15:52:21 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:52:20
  Author: felixonmars
Revision: 1142576

archrelease: copy trunk to community-staging-any

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

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

Copied: python-charset-normalizer/repos/community-staging-any/PKGBUILD (from rev 1142575, python-charset-normalizer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-03-06 15:52:20 UTC (rev 1142576)
@@ -0,0 +1,44 @@
+# 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.0.10
+pkgrel=2
+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=de25562948294ad7dfbb4b2f1d1d0999d48018bc
+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:



More information about the arch-commits mailing list