[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Jan 30 14:39:40 UTC 2017
Date: Monday, January 30, 2017 @ 14:39:39
Author: felixonmars
Revision: 209507
addpkg: python2-backports.unittest_mock 1.2.1-1
Added:
python2-backports.unittest_mock/
python2-backports.unittest_mock/repos/
python2-backports.unittest_mock/trunk/
python2-backports.unittest_mock/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: python2-backports.unittest_mock/trunk/PKGBUILD
===================================================================
--- python2-backports.unittest_mock/trunk/PKGBUILD (rev 0)
+++ python2-backports.unittest_mock/trunk/PKGBUILD 2017-01-30 14:39:39 UTC (rev 209507)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-backports.unittest_mock
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Makes the “mock” module available as “unittest.mock”"
+arch=('any')
+url="https://github.com/jaraco/backports.unittest_mock"
+license=('PSF')
+depends=('python2-backports' 'python2-mock')
+makedepends=('python2-setuptools-scm')
+checkdepends=('python2-pytest-runner')
+source=("https://pypi.io/packages/source/b/backports.unittest_mock/backports.unittest_mock-$pkgver.tar.gz")
+sha256sums=('3a333a7a7641e4c7657c6086d117f88c61c96249b80dd7aa66eba0806a55a393')
+
+check() {
+ cd backports.unittest_mock-$pkgver
+ python2 setup.py pytest
+}
+
+package() {
+ cd backports.unittest_mock-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
Property changes on: python2-backports.unittest_mock/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list