diff --git a/Makefile b/Makefile new file mode 100644 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +include ../Makefile.common diff --git a/package.yml b/package.yml new file mode 100644 --- /dev/null +++ b/package.yml @@ -0,0 +1,25 @@ +name : python-backports.unittest_mock +version : 1.3 +release : 1 +source : + - https://files.pythonhosted.org/packages/source/b/backports.unittest_mock/backports.unittest_mock-1.3.tar.gz : c6d964d75112051576daa60746cc6a66afcdc43f13ea2bda175ca8e278e9b375 +license : MIT +component : programming.python +summary : Backport of unittest mock for python 3.2 and earlier +description: | + Provides a function "install()" which makes the "mock" module available + as "unittest.mock" on Python 3.2 and earlier. + Also advertises a pytest plugin which configures unittest.mock automatically. +builddeps : + - python-mock + - python-setuptools + - python-setuptools-scm + - python-pytest +build : | + %python_setup +install : | + %python_install +check : | + pushd $PKG_BUILD_DIR/py2build + PYTHONPATH=$PWD py.test + popd diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml new file mode 100644 --- /dev/null +++ b/pspec_x86_64.xml @@ -0,0 +1,47 @@ + + + python-backports.unittest_mock + + Pierre-Yves + pyu@riseup.net + + MIT + programming.python + Backport of unittest mock for python 3.2 and earlier + Provides a function "install()" which makes the "mock" module available +as "unittest.mock" on Python 3.2 and earlier. +Also advertises a pytest plugin which configures unittest.mock automatically. + + https://solus-project.com/sources/README.Solus + + + python-backports.unittest_mock + Backport of unittest mock for python 3.2 and earlier + Provides a function "install()" which makes the "mock" module available +as "unittest.mock" on Python 3.2 and earlier. +Also advertises a pytest plugin which configures unittest.mock automatically. + + programming.python + + /usr/lib/python2.7/site-packages/backports.unittest_mock-1.3-py2.7.egg-info/PKG-INFO + /usr/lib/python2.7/site-packages/backports.unittest_mock-1.3-py2.7.egg-info/SOURCES.txt + /usr/lib/python2.7/site-packages/backports.unittest_mock-1.3-py2.7.egg-info/dependency_links.txt + /usr/lib/python2.7/site-packages/backports.unittest_mock-1.3-py2.7.egg-info/entry_points.txt + /usr/lib/python2.7/site-packages/backports.unittest_mock-1.3-py2.7.egg-info/requires.txt + /usr/lib/python2.7/site-packages/backports.unittest_mock-1.3-py2.7.egg-info/top_level.txt + /usr/lib/python2.7/site-packages/backports/__init__.py + /usr/lib/python2.7/site-packages/backports/__init__.pyc + /usr/lib/python2.7/site-packages/backports/unittest_mock/__init__.py + /usr/lib/python2.7/site-packages/backports/unittest_mock/__init__.pyc + + + + + 2018-01-19 + 1.3 + Packaging update + Pierre-Yves + pyu@riseup.net + + + \ No newline at end of file