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

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 30 10:28:36 UTC 2022


    Date: Tuesday, August 30, 2022 @ 10:28:36
  Author: felixonmars
Revision: 1288537

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 39 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 10:28:22 UTC (rev 1288536)
+++ PKGBUILD	2022-08-30 10:28:36 UTC (rev 1288537)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-pkgname=python-watchdog
-pkgver=0.10.7
-pkgrel=3
-pkgdesc="Python API and shell utilities to monitor file system events"
-arch=('any')
-url="https://pypi.python.org/pypi/watchdog"
-license=('Apache')
-depends=('python-pathtools' 'python-yaml' 'python-argh')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-cov' 'python-pytest-timeout' 'python-pytest-runner')
-source=($pkgname-$pkgver.tar.gz::https://github.com/gorakhargosh/watchdog/archive/v$pkgver.tar.gz)
-sha512sums=('64b747f11691ddf976052ceb88f7978abef1789230102c418075ab2f41ede04af4df3dbd4bd5ef433b0616d80e3275853cf535da0707450e2bf908871cb70e8e')
-
-build() {
-  cd watchdog-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd watchdog-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd watchdog-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:ts=2:sw=2:et:

Copied: python-watchdog/repos/community-any/PKGBUILD (from rev 1288536, python-watchdog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 10:28:36 UTC (rev 1288537)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-watchdog
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Python API and shell utilities to monitor file system events"
+arch=('any')
+url="https://github.com/gorakhargosh/watchdog"
+license=('Apache')
+depends=('python')
+optdepends=('python-yaml: for watchmedo'
+            'python-argh: for watchmedo')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-timeout')
+source=($pkgname-$pkgver.tar.gz::https://github.com/gorakhargosh/watchdog/archive/v$pkgver.tar.gz)
+sha512sums=('e89f34aba7547022a48ff16e36e6a2eea340e80a4b1e1f8657d4e70d4a451ac43351aafc76978fb4241c583df11c2dd6c53cb1a03c43c2734f4a8a07d5b2604f')
+
+prepare() {
+  cd watchdog-$pkgver
+  sed -i '/--cov/d' setup.cfg
+}
+
+build() {
+  cd watchdog-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd watchdog-$pkgver
+  PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+  cd watchdog-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:ts=2:sw=2:et:



More information about the arch-commits mailing list