pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan 11 14:07:11 UTC 2018

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-test-django: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1299 -r1.1300 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-test-django/DESCR \
    pkgsrc/www/py-test-django/Makefile pkgsrc/www/py-test-django/PLIST \
    pkgsrc/www/py-test-django/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1299 pkgsrc/www/Makefile:1.1300
--- pkgsrc/www/Makefile:1.1299  Thu Jan 11 13:37:54 2018
+++ pkgsrc/www/Makefile Thu Jan 11 14:07:11 2018
@@ -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-sparqlwrapper
 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

Added files:

Index: pkgsrc/www/py-test-django/DESCR
diff -u /dev/null pkgsrc/www/py-test-django/DESCR:1.1
--- /dev/null   Thu Jan 11 14:07:11 2018
+++ pkgsrc/www/py-test-django/DESCR     Thu Jan 11 14:07:11 2018
@@ -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.
Index: pkgsrc/www/py-test-django/Makefile
diff -u /dev/null pkgsrc/www/py-test-django/Makefile:1.1
--- /dev/null   Thu Jan 11 14:07:11 2018
+++ pkgsrc/www/py-test-django/Makefile  Thu Jan 11 14:07:11 2018
@@ -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"
Index: pkgsrc/www/py-test-django/PLIST
diff -u /dev/null pkgsrc/www/py-test-django/PLIST:1.1
--- /dev/null   Thu Jan 11 14:07:11 2018
+++ pkgsrc/www/py-test-django/PLIST     Thu Jan 11 14:07:11 2018
@@ -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
Index: pkgsrc/www/py-test-django/distinfo
diff -u /dev/null pkgsrc/www/py-test-django/distinfo:1.1
--- /dev/null   Thu Jan 11 14:07:11 2018
+++ pkgsrc/www/py-test-django/distinfo  Thu Jan 11 14:07:11 2018
@@ -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