[arch-commits] Commit in python-langdetect/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Fri May 7 16:59:21 UTC 2021


    Date: Friday, May 7, 2021 @ 16:59:21
  Author: dvzrv
Revision: 928639

archrelease: copy trunk to community-any

Added:
  python-langdetect/repos/community-any/PKGBUILD
    (from rev 928638, python-langdetect/trunk/PKGBUILD)
Deleted:
  python-langdetect/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-07 16:59:12 UTC (rev 928638)
+++ PKGBUILD	2021-05-07 16:59:21 UTC (rev 928639)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=langdetect
-pkgname=python-langdetect
-pkgver=1.0.8
-pkgrel=3
-pkgdesc="Language detection library ported from Google's language-detection"
-arch=('any')
-url="https://github.com/Mimino666/langdetect"
-license=('Apache')
-depends=('python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/l/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('beade4e33abd25364ead64c30b3631615526effa7788c50e0b2bfac454e7b69a33742780f838ddf5df5292dadf0449ea8f3a4197214d84a164cbecee76020a4d')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  pytest -v
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-langdetect/repos/community-any/PKGBUILD (from rev 928638, python-langdetect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-07 16:59:21 UTC (rev 928639)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=langdetect
+pkgname=python-langdetect
+pkgver=1.0.9
+pkgrel=1
+pkgdesc="Language detection library ported from Google's language-detection"
+arch=('any')
+url="https://github.com/Mimino666/langdetect"
+license=('Apache')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/l/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db')
+b2sums=('ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  pytest -v
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list