Codebase list pytest-factoryboy / 5d90921
Initial release Sophie Brun 4 years ago
14 changed file(s) with 162 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 pytest-factoryboy (2.0.2-0kali1) kali-dev; urgency=medium
1
2 * Initial release
3 * Package Python 2 version for python-faraday
4
5 -- Sophie Brun <[email protected]> Thu, 13 Jun 2019 16:00:01 +0200
0 Source: pytest-factoryboy
1 Section: python
2 Priority: optional
3 Maintainer: Kali Developers <[email protected]>
4 Uploaders: Sophie Brun <[email protected]>
5 Build-Depends: debhelper-compat (= 12),
6 dh-python,
7 python-all,
8 python-factory-boy,
9 python-inflection,
10 python-pytest,
11 python-pytest-pep8,
12 python-setuptools,
13 python3-all,
14 python3-factory-boy,
15 python3-inflection,
16 python3-pytest,
17 python3-pytest-pep8,
18 python3-setuptools,
19 python3-sphinx
20 Standards-Version: 4.3.0
21 Homepage: https://github.com/pytest-dev/pytest-factoryboy
22 Vcs-Browser: https://gitlab.com/kalilinux/packages/pytest-factoryboy
23 Vcs-Git: https://gitlab.com/kalilinux/packages/pytest-factoryboy.git
24
25 Package: python-pytest-factoryboy
26 Architecture: all
27 Depends: ${misc:Depends}, ${python:Depends}
28 Suggests: python-pytest-factoryboy-doc
29 Description: factory_boy integration the pytest runner (Python 2)
30 This package contains a factory_boy integration with the pytest runner. It
31 makes it easy to combine factory approach to the test setup with the
32 dependency injection, heart of the pytest fixtures.
33 .
34 This package installs the library for Python 2.
35
36 Package: python3-pytest-factoryboy
37 Architecture: all
38 Depends: ${misc:Depends}, ${python3:Depends}
39 Suggests: python-pytest-factoryboy-doc
40 Description: factory_boy integration the pytest runner (Python 3)
41 This package contains a factory_boy integration with the pytest runner. It
42 makes it easy to combine factory approach to the test setup with the
43 dependency injection, heart of the pytest fixtures.
44 .
45 This package installs the library for Python 3.
46
47 Package: python-pytest-factoryboy-doc
48 Architecture: all
49 Section: doc
50 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
51 Description: factory_boy integration the pytest runner (common documentation)
52 This package contains a factory_boy integration with the pytest runner. It
53 makes it easy to combine factory approach to the test setup with the
54 dependency injection, heart of the pytest fixtures.
55 .
56 This is the common documentation package.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: pytest-factoryboy
2 Source: https://github.com/pytest-dev/pytest-factoryboy
3
4 Files: *
5 Copyright: © 2015 Oleg Pidsadnyi, Anatoly Bubenkov and others
6 License: MIT
7
8 Files: debian/*
9 Copyright: 2019 Sophie Brun <[email protected]>
10 License: MIT
11
12 License: MIT
13 Permission is hereby granted, free of charge, to any person obtaining a copy
14 of this software and associated documentation files (the "Software"), to deal
15 in the Software without restriction, including without limitation the rights
16 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17 copies of the Software, and to permit persons to whom the Software is
18 furnished to do so, subject to the following conditions:
19 .
20 The above copyright notice and this permission notice shall be included in all
21 copies or substantial portions of the Software.
22 .
23 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29 SOFTWARE.
0 [DEFAULT]
1 debian-branch=kali/master
0 Description: Remove privacy breach in documentation
1 Author: Sophie Brun <[email protected]>
2 Last-Update: 2019-06-14
3 ---
4 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
5 --- a/README.rst
6 +++ b/README.rst
7 @@ -1,19 +1,6 @@
8 factory_boy_ integration with the pytest_ runner
9 ================================================
10
11 -.. image:: https://img.shields.io/pypi/v/pytest-factoryboy.svg
12 - :target: https://pypi.python.org/pypi/pytest-factoryboy
13 -.. image:: https://img.shields.io/pypi/pyversions/pytest-factoryboy.svg
14 - :target: https://pypi.python.org/pypi/pytest-factoryboy
15 -.. image:: https://img.shields.io/coveralls/pytest-dev/pytest-factoryboy/master.svg
16 - :target: https://coveralls.io/r/pytest-dev/pytest-factoryboy
17 -.. image:: https://travis-ci.org/pytest-dev/pytest-factoryboy.svg?branch=master
18 - :target: https://travis-ci.org/pytest-dev/pytest-factoryboy
19 -.. image:: https://readthedocs.org/projects/pytest-factoryboy/badge/?version=latest
20 - :target: https://readthedocs.org/projects/pytest-factoryboy/?badge=latest
21 - :alt: Documentation Status
22 -
23 -
24 pytest-factoryboy makes it easy to combine ``factory`` approach to the test setup with the ``dependency`` injection,
25 heart of the `pytest fixtures`_.
26
0 remove-privacy-breach.patch
0 #!/usr/bin/make -f
1 # output every command that modifies files on the build system.
2 #export DH_VERBOSE = 1
3
4 export PYBUILD_NAME=pytest-factoryboy
5
6 %:
7 dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
8
9 override_dh_auto_build:
10 dh_auto_build
11 PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
12
13 override_dh_auto_test:
14 PYTHONPATH=$(CURDIR) PYBUILD_SYSTEM=custom \
15 PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -s tests" dh_auto_test
16 # run tests after install: plugin needs to get registered by setup.py/entry_points
0 3.0 (quilt)
0 extend-diff-ignore = "^[^/]*[.]egg-info/"
0 Tests: test-pytest-factoryboy
1 Depends: @, python-pytest-pep8
2
3 Tests: test3-pytest-factoryboy
4 Depends: @, python3-pytest-pep8
0 #!/bin/sh
1 set -e
2 cp -r tests "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP"
3 python -Wd -m pytest -v -x tests 2>&1
0 #!/bin/sh
1 set -e
2 cp -r tests "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP"
3 for py in $(py3versions -i); do
4 $py -Wd -m pytest -v -x tests 2>&1;
5 done
0 version=4
1 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%pytest-factoryboy-$1.tar.gz%" \
2 https://github.com/pytest-dev/pytest-factoryboy/tags \
3 (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate