[arch-commits] Commit in python-robot-detection/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 21:39:49 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:39:49
  Author: felixonmars
Revision: 1060945

archrelease: copy trunk to community-staging-any

Added:
  python-robot-detection/repos/community-staging-any/PKGBUILD
    (from rev 1060944, python-robot-detection/trunk/PKGBUILD)
Deleted:
  python-robot-detection/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:39:44 UTC (rev 1060944)
+++ PKGBUILD	2021-12-01 21:39:49 UTC (rev 1060945)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=robot-detection
-pkgname=python-robot-detection
-pkgver=0.4.0
-pkgrel=5
-pkgdesc="Detect web crawlers using HTTP User Agent"
-arch=('any')
-url="https://github.com/rory/robot-detection"
-license=('GPL3')
-depends=('python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-# sdist doesn't contain tests:
-# https://github.com/rory/robot-detection/issues/2
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rory/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('10b1fbd2307c375e3cd067e43bee1bc0ff71f4b83ede9b92d2fb8d60edfd6d4a8d1a4d06d74e3c0653056f2e2b2cb81a7e997047093e925bd79bf4626d33d85f')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
-  python ./tests.py
-}
-
-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-robot-detection/repos/community-staging-any/PKGBUILD (from rev 1060944, python-robot-detection/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:39:49 UTC (rev 1060945)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=robot-detection
+pkgname=python-robot-detection
+pkgver=0.4.0
+pkgrel=6
+pkgdesc="Detect web crawlers using HTTP User Agent"
+arch=('any')
+url="https://github.com/rory/robot-detection"
+license=('GPL3')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+# sdist doesn't contain tests:
+# https://github.com/rory/robot-detection/issues/2
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rory/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('10b1fbd2307c375e3cd067e43bee1bc0ff71f4b83ede9b92d2fb8d60edfd6d4a8d1a4d06d74e3c0653056f2e2b2cb81a7e997047093e925bd79bf4626d33d85f')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
+  python ./tests.py
+}
+
+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}"
+}



More information about the arch-commits mailing list