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

Felix Yan felixonmars at archlinux.org
Mon Mar 16 12:31:18 UTC 2020


    Date: Monday, March 16, 2020 @ 12:31:17
  Author: felixonmars
Revision: 599705

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 32 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 12:31:03 UTC (rev 599704)
+++ PKGBUILD	2020-03-16 12:31:17 UTC (rev 599705)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-pkgbase=python-watchdog
-pkgname=('python-watchdog' 'python2-watchdog')
-pkgver=0.10.2
-pkgrel=1
-pkgdesc="Python API and shell utilities to monitor file system events."
-arch=('any')
-url="https://pypi.python.org/pypi/watchdog"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pathtools' 'python2-pathtools'
-             'python-yaml' 'python2-yaml' 'python-argh' 'python2-argh')
-checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-pytest-timeout'
-              'python2-pytest-timeout' 'python-pytest-runner' 'python2-pytest-runner')
-source=($pkgbase-$pkgver.tar.gz::https://github.com/gorakhargosh/watchdog/archive/v$pkgver.tar.gz)
-sha512sums=('3563a9686ce304350f33bbf4b16933cd0db5d6ab17676dfcc779b86cf9ddd06c42462ec40ad5c046cf4aa4b603aa477865de45daef05f9c6af3a441bcab16dbb')
-
-build() {
-  cd watchdog-$pkgver
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd watchdog-$pkgver
-  python setup.py pytest
-  python2 setup.py pytest
-}
-
-package_python-watchdog() {
-  depends=('python-pathtools' 'python-yaml' 'python-argh')
-
-  cd watchdog-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-watchdog() {
-  depends=('python2-pathtools' 'python2-yaml' 'python2-argh')
-
-  cd watchdog-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/watchmedo{,2}
-}
-
-# vim:ts=2:sw=2:et:

Copied: python-watchdog/repos/community-any/PKGBUILD (from rev 599704, python-watchdog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-16 12:31:17 UTC (rev 599705)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python-watchdog
+pkgver=0.10.2
+pkgrel=2
+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=('3563a9686ce304350f33bbf4b16933cd0db5d6ab17676dfcc779b86cf9ddd06c42462ec40ad5c046cf4aa4b603aa477865de45daef05f9c6af3a441bcab16dbb')
+
+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:



More information about the arch-commits mailing list