pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www py-test-django: added version 3.1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2d0a626edf1
branches:  trunk
changeset: 373946:b2d0a626edf1
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 11 14:07:11 2018 +0000

description:
py-test-django: added version 3.1.2

pytest-django allows you to test your Django project/applications with the
pytest testing tool.

Running your test suite with pytest-django allows you to tap into the features
that are already present in pytest. Here are some advantages:
* Manage test dependencies with pytest fixtures.
* Less boilerplate tests: no need to import unittest, create a subclass with
  methods. Write tests as regular functions.
* Database re-use: no need to re-create the test database for every test run.
* Run tests in multiple processes for increased speed (with the pytest-xdist
  plugin).
* Make use of other pytest plugins.
* Works with both worlds: Existing unittest-style TestCase's still work
  without any modifications.

diffstat:

 www/Makefile                |   3 ++-
 www/py-test-django/DESCR    |  14 ++++++++++++++
 www/py-test-django/Makefile |  19 +++++++++++++++++++
 www/py-test-django/PLIST    |  37 +++++++++++++++++++++++++++++++++++++
 www/py-test-django/distinfo |   6 ++++++
 5 files changed, 78 insertions(+), 1 deletions(-)

diffs (109 lines):

diff -r 30aeac72e4c8 -r b2d0a626edf1 www/Makefile
--- a/www/Makefile      Thu Jan 11 13:57:36 2018 +0000
+++ b/www/Makefile      Thu Jan 11 14:07:11 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1299 2018/01/11 13:37:54 adam Exp $
+# $NetBSD: Makefile,v 1.1300 2018/01/11 14:07:11 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -727,6 +727,7 @@
 SUBDIR+=       py-static
 SUBDIR+=       py-swish-e
 SUBDIR+=       py-terminado
+SUBDIR+=       py-test-django
 SUBDIR+=       py-test-httpbin
 SUBDIR+=       py-tornado
 SUBDIR+=       py-trytond-web-user
diff -r 30aeac72e4c8 -r b2d0a626edf1 www/py-test-django/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-test-django/DESCR  Thu Jan 11 14:07:11 2018 +0000
@@ -0,0 +1,14 @@
+pytest-django allows you to test your Django project/applications with the
+pytest testing tool.
+
+Running your test suite with pytest-django allows you to tap into the features
+that are already present in pytest. Here are some advantages:
+* Manage test dependencies with pytest fixtures.
+* Less boilerplate tests: no need to import unittest, create a subclass with
+  methods. Write tests as regular functions.
+* Database re-use: no need to re-create the test database for every test run.
+* Run tests in multiple processes for increased speed (with the pytest-xdist
+  plugin).
+* Make use of other pytest plugins.
+* Works with both worlds: Existing unittest-style TestCase's still work
+  without any modifications.
diff -r 30aeac72e4c8 -r b2d0a626edf1 www/py-test-django/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-test-django/Makefile       Thu Jan 11 14:07:11 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/01/11 14:07:11 adam Exp $
+
+DISTNAME=      pytest-django-3.1.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-django/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pytest-django.readthedocs.io/
+COMMENT=       Django plugin for pytest
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-test>=2.9:../../devel/py-test
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=1.11.1:../../devel/py-setuptools_scm
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 30aeac72e4c8 -r b2d0a626edf1 www/py-test-django/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-test-django/PLIST  Thu Jan 11 14:07:11 2018 +0000
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/11 14:07:11 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_django/__init__.py
+${PYSITELIB}/pytest_django/__init__.pyc
+${PYSITELIB}/pytest_django/__init__.pyo
+${PYSITELIB}/pytest_django/compat.py
+${PYSITELIB}/pytest_django/compat.pyc
+${PYSITELIB}/pytest_django/compat.pyo
+${PYSITELIB}/pytest_django/db_reuse.py
+${PYSITELIB}/pytest_django/db_reuse.pyc
+${PYSITELIB}/pytest_django/db_reuse.pyo
+${PYSITELIB}/pytest_django/django_compat.py
+${PYSITELIB}/pytest_django/django_compat.pyc
+${PYSITELIB}/pytest_django/django_compat.pyo
+${PYSITELIB}/pytest_django/fixtures.py
+${PYSITELIB}/pytest_django/fixtures.pyc
+${PYSITELIB}/pytest_django/fixtures.pyo
+${PYSITELIB}/pytest_django/lazy_django.py
+${PYSITELIB}/pytest_django/lazy_django.pyc
+${PYSITELIB}/pytest_django/lazy_django.pyo
+${PYSITELIB}/pytest_django/live_server_helper.py
+${PYSITELIB}/pytest_django/live_server_helper.pyc
+${PYSITELIB}/pytest_django/live_server_helper.pyo
+${PYSITELIB}/pytest_django/migrations.py
+${PYSITELIB}/pytest_django/migrations.pyc
+${PYSITELIB}/pytest_django/migrations.pyo
+${PYSITELIB}/pytest_django/plugin.py
+${PYSITELIB}/pytest_django/plugin.pyc
+${PYSITELIB}/pytest_django/plugin.pyo
+${PYSITELIB}/pytest_django/pytest_compat.py
+${PYSITELIB}/pytest_django/pytest_compat.pyc
+${PYSITELIB}/pytest_django/pytest_compat.pyo
diff -r 30aeac72e4c8 -r b2d0a626edf1 www/py-test-django/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-test-django/distinfo       Thu Jan 11 14:07:11 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/01/11 14:07:11 adam Exp $
+
+SHA1 (pytest-django-3.1.2.tar.gz) = db4fa00349697a6623fa3f3741c903db6cef92a0
+RMD160 (pytest-django-3.1.2.tar.gz) = 2022e41ee0eedb22da725a1c27807c5f0ad11ee1
+SHA512 (pytest-django-3.1.2.tar.gz) = 7abe96ffcd427bc48163a7016e2e3f7e31ef4176471163679a34ca4bea88a28dcd1033f8c24eb4880c355c55f58a790164021bda1c28fbd09fc426c80f2c775b
+Size (pytest-django-3.1.2.tar.gz) = 60225 bytes



Home | Main Index | Thread Index | Old Index