pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py27-tinycss2



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 30 09:33:05 UTC 2022

Modified Files:
        pkgsrc/textproc/py27-tinycss2: Makefile distinfo
Added Files:
        pkgsrc/textproc/py27-tinycss2/patches: patch-setup.cfg patch-setup.py

Log Message:
py27-tinycss2: exclude pytest-flake8 and pytest-isort from testing


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py27-tinycss2/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py27-tinycss2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py27-tinycss2/patches/patch-setup.cfg \
    pkgsrc/textproc/py27-tinycss2/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/textproc/py27-tinycss2/Makefile
diff -u pkgsrc/textproc/py27-tinycss2/Makefile:1.5 pkgsrc/textproc/py27-tinycss2/Makefile:1.6
--- pkgsrc/textproc/py27-tinycss2/Makefile:1.5  Wed Nov  9 13:14:17 2022
+++ pkgsrc/textproc/py27-tinycss2/Makefile      Wed Nov 30 09:33:05 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/11/09 13:14:17 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2022/11/30 09:33:05 adam Exp $
 
 DISTNAME=      tinycss2-0.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,15 +11,13 @@ HOMEPAGE=   https://pythonhosted.org/tinyc
 COMMENT=       Low-level CSS parser for Python
 LICENSE=       modified-bsd
 
-PYTHON_VERSIONS_ACCEPTED=      27
-
-USE_LANGUAGES= # empty
-
 DEPENDS+=      ${PYPKGPREFIX}-webencodings>=0.4:../../textproc/py-webencodings
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py27-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_ACCEPTED=      27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py27-tinycss2/distinfo
diff -u pkgsrc/textproc/py27-tinycss2/distinfo:1.3 pkgsrc/textproc/py27-tinycss2/distinfo:1.4
--- pkgsrc/textproc/py27-tinycss2/distinfo:1.3  Tue Oct 26 11:23:18 2021
+++ pkgsrc/textproc/py27-tinycss2/distinfo      Wed Nov 30 09:33:05 2022
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:23:18 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/11/30 09:33:05 adam Exp $
 
 BLAKE2s (tinycss2-0.6.1.tar.gz) = c7b9195754a48058291b72fd41324d9f1a53b4e168fd97e049ee6b7ec8dcc6ea
 SHA512 (tinycss2-0.6.1.tar.gz) = fa064bbb06d641a497a3c1eb35118bbf8ca8c4d32fbd3d8c64bb10d6cdab24387e77cd4c3277a957f23de2bd527a407836245f4387d7f880958858bd9cc7ab89
 Size (tinycss2-0.6.1.tar.gz) = 59548 bytes
+SHA1 (patch-setup.cfg) = 64b02b00fa864704f4a03f4bcd22666875b30ddb
+SHA1 (patch-setup.py) = 597ee3cbc981cebdea1c7fadfcbc567dd92b1c1e

Added files:

Index: pkgsrc/textproc/py27-tinycss2/patches/patch-setup.cfg
diff -u /dev/null pkgsrc/textproc/py27-tinycss2/patches/patch-setup.cfg:1.1
--- /dev/null   Wed Nov 30 09:33:05 2022
+++ pkgsrc/textproc/py27-tinycss2/patches/patch-setup.cfg       Wed Nov 30 09:33:05 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.cfg,v 1.1 2022/11/30 09:33:05 adam Exp $
+
+Do not use flake8 and isort for tests.
+
+--- setup.cfg.orig     2022-11-30 09:27:24.000000000 +0000
++++ setup.cfg
+@@ -5,7 +5,7 @@ test = pytest
+ universal = 1
+ 
+ [tool:pytest]
+-addopts = --cov=tinycss2 --flake8 --isort tinycss2/test.py
++addopts = --cov=tinycss2 tinycss2/test.py
+ norecursedirs = dist .cache .git build *.egg-info .eggs venv
+ 
+ [egg_info]
Index: pkgsrc/textproc/py27-tinycss2/patches/patch-setup.py
diff -u /dev/null pkgsrc/textproc/py27-tinycss2/patches/patch-setup.py:1.1
--- /dev/null   Wed Nov 30 09:33:05 2022
+++ pkgsrc/textproc/py27-tinycss2/patches/patch-setup.py        Wed Nov 30 09:33:05 2022
@@ -0,0 +1,17 @@
+$NetBSD: patch-setup.py,v 1.1 2022/11/30 09:33:05 adam Exp $
+
+Do not require pytest-flake8 and pytest-isort as PkgSrc does have Python 2.7
+versions anymore.
+
+--- setup.py.orig      2022-11-30 09:26:24.000000000 +0000
++++ setup.py
+@@ -49,7 +49,7 @@ setup(
+     setup_requires=pytest_runner,
+     test_suite='tinycss2.test',
+     tests_require=[
+-        'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort'],
++        'pytest-runner', 'pytest-cov'],
+     extras_require={'test': [
+-        'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort']},
++        'pytest-runner', 'pytest-cov']},
+ )



Home | Main Index | Thread Index | Old Index