[arch-commits] Commit in python-ddt/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 15 19:55:28 UTC 2020
Date: Friday, May 15, 2020 @ 19:55:27
Author: felixonmars
Revision: 628098
archrelease: copy trunk to community-any
Added:
python-ddt/repos/community-any/PKGBUILD
(from rev 628097, python-ddt/trunk/PKGBUILD)
Deleted:
python-ddt/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-15 19:55:17 UTC (rev 628097)
+++ PKGBUILD 2020-05-15 19:55:27 UTC (rev 628098)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-ddt
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="Data-Driven/Decorated Tests"
-arch=('any')
-license=('MIT')
-url="https://github.com/txels/ddt"
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-mock' 'python-yaml')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/txels/ddt/archive/$pkgver.tar.gz")
-sha512sums=('3787589b2693e64e2da8bf9381c08b66fc816e19174d5a2a06247fe82ec3588ff6342d0c18f5fd544b8a505676df61bd797119df7d1313c2fdc5d16bd6e02504')
-
-build() {
- cd ddt-$pkgver
- python setup.py build
-}
-
-check() {
- cd ddt-$pkgver
- nosetests3
-}
-
-package() {
- cd ddt-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}
Copied: python-ddt/repos/community-any/PKGBUILD (from rev 628097, python-ddt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-15 19:55:27 UTC (rev 628098)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-ddt
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="Data-Driven/Decorated Tests"
+arch=('any')
+license=('MIT')
+url="https://github.com/txels/ddt"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-six' 'python-yaml')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/txels/ddt/archive/$pkgver.tar.gz")
+sha512sums=('a4d80aea3e5c9399b52899616fb9de94321e68e50a82bcb8d6dadb1406c544bd65c01321ffdcc91535291b5d3fac801b26d6eb2b2c02fd72b27cb6d795894238')
+
+build() {
+ cd ddt-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd ddt-$pkgver
+ pytest
+}
+
+package() {
+ cd ddt-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}
More information about the arch-commits
mailing list