[arch-commits] Commit in python-charset-normalizer/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:02 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:20:02
Author: felixonmars
Revision: 1058019
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 1058017, python-charset-normalizer/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-charset-normalizer/repos/community-staging-any/PKGBUILD (from rev 1058017, python-charset-normalizer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:20:02 UTC (rev 1058019)
@@ -0,0 +1,45 @@
+# 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>
+
+_name=charset-normalizer
+pkgname=python-charset-normalizer
+pkgver=2.0.4
+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=558d1e20c0d7cbdba9e207742cc9f2791649a425
+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