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

Felix Yan felixonmars at archlinux.org
Wed Mar 27 08:07:40 UTC 2019


    Date: Wednesday, March 27, 2019 @ 08:07:38
  Author: felixonmars
Revision: 443963

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++---------------------------------------
 1 file changed, 32 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-27 08:07:22 UTC (rev 443962)
+++ PKGBUILD	2019-03-27 08:07:38 UTC (rev 443963)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-pytddmon
-pkgname=('python-pytddmon' 'python2-pytddmon')
-pkgver=1.0.8
-_commit=4b2875cfda88050537af58a4103ea8809c27ee1c
-pkgrel=3
-pkgdesc='Continuous unit testing in Python'
-arch=('any')
-url='http://pytddmon.org'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/objarni/pytddmon.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a pytddmon{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytddmon
-  python setup.py build
-
-  cd "$srcdir"/pytddmon-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pytddmon
-  python setup.py nosetests
-
-  cd "$srcdir"/pytddmon-py2
-  python2 setup.py nosetests
-}
-
-package_python-pytddmon() {
-  depends=('python')
-
-  cd pytddmon
-  python setup.py install --root="$pkgdir" -O1
-}
-
-package_python2-pytddmon() {
-  depends=('python2')
-
-  cd pytddmon-py2
-  python2 setup.py install --root="$pkgdir" -O1
-
-  mv "$pkgdir"/usr/bin/pytddmon{,2}.py
-}

Copied: python-pytddmon/repos/community-any/PKGBUILD (from rev 443962, python-pytddmon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-27 08:07:38 UTC (rev 443963)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=python-pytddmon
+pkgver=1.0.8
+_commit=4b2875cfda88050537af58a4103ea8809c27ee1c
+pkgrel=4
+pkgdesc='Continuous unit testing in Python'
+arch=('any')
+url='http://pytddmon.org'
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$_commit.tar.gz::https://github.com/objarni/pytddmon/archive/$_commit.tar.gz")
+sha512sums=('5b71938b0f80995a8e9c9590697e1ccc53f30339d0dc63a31aa37957d8f354913e84444eecaebd6a8e631af645baefbdbed09aaa65f53d7e0d49c90fbc2c7a46')
+
+build() {
+  cd pytddmon-$_commit
+  python setup.py build
+}
+
+check() {
+  cd pytddmon-$_commit
+  python setup.py nosetests
+}
+
+package() {
+  cd pytddmon-$_commit
+  python setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list