pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-pybtex py-pybtex: ...and do not install tests



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b237efd9fcd
branches:  trunk
changeset: 316483:3b237efd9fcd
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 13 21:01:01 2018 +0000

description:
py-pybtex: ...and do not install tests

diffstat:

 textproc/py-pybtex/PLIST                  |  79 +------------------------------
 textproc/py-pybtex/distinfo               |   3 +-
 textproc/py-pybtex/patches/patch-setup.py |  15 +++++
 3 files changed, 18 insertions(+), 79 deletions(-)

diffs (121 lines):

diff -r 31dce72f751c -r 3b237efd9fcd textproc/py-pybtex/PLIST
--- a/textproc/py-pybtex/PLIST  Thu Dec 13 20:46:09 2018 +0000
+++ b/textproc/py-pybtex/PLIST  Thu Dec 13 21:01:01 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/12/13 20:45:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/12/13 21:01:01 adam Exp $
 bin/pybtex-${PYVERSSUFFIX}
 bin/pybtex-convert-${PYVERSSUFFIX}
 bin/pybtex-format-${PYVERSSUFFIX}
@@ -189,80 +189,3 @@
 ${PYSITELIB}/pybtex/utils.py
 ${PYSITELIB}/pybtex/utils.pyc
 ${PYSITELIB}/pybtex/utils.pyo
-${PYSITELIB}/tests/__init__.py
-${PYSITELIB}/tests/__init__.pyc
-${PYSITELIB}/tests/__init__.pyo
-${PYSITELIB}/tests/bibtex_parser_test.py
-${PYSITELIB}/tests/bibtex_parser_test.pyc
-${PYSITELIB}/tests/bibtex_parser_test.pyo
-${PYSITELIB}/tests/bst_parser_test/__init__.py
-${PYSITELIB}/tests/bst_parser_test/__init__.pyc
-${PYSITELIB}/tests/bst_parser_test/__init__.pyo
-${PYSITELIB}/tests/bst_parser_test/apacite.py
-${PYSITELIB}/tests/bst_parser_test/apacite.pyc
-${PYSITELIB}/tests/bst_parser_test/apacite.pyo
-${PYSITELIB}/tests/bst_parser_test/bst_parser_test.py
-${PYSITELIB}/tests/bst_parser_test/bst_parser_test.pyc
-${PYSITELIB}/tests/bst_parser_test/bst_parser_test.pyo
-${PYSITELIB}/tests/bst_parser_test/jurabib.py
-${PYSITELIB}/tests/bst_parser_test/jurabib.pyc
-${PYSITELIB}/tests/bst_parser_test/jurabib.pyo
-${PYSITELIB}/tests/bst_parser_test/plain.py
-${PYSITELIB}/tests/bst_parser_test/plain.pyc
-${PYSITELIB}/tests/bst_parser_test/plain.pyo
-${PYSITELIB}/tests/data/IEEEtran.aux
-${PYSITELIB}/tests/data/IEEEtran.bib
-${PYSITELIB}/tests/data/IEEEtran.bst
-${PYSITELIB}/tests/data/IEEEtran_IEEEtran.bibtex.bbl
-${PYSITELIB}/tests/data/__init__.py
-${PYSITELIB}/tests/data/__init__.pyc
-${PYSITELIB}/tests/data/__init__.pyo
-${PYSITELIB}/tests/data/alpha.bst
-${PYSITELIB}/tests/data/apacite.bst
-${PYSITELIB}/tests/data/cyrillic.bib
-${PYSITELIB}/tests/data/cyrillic_alpha.bibtex.bbl
-${PYSITELIB}/tests/data/cyrillic_alpha.pybtex.bbl
-${PYSITELIB}/tests/data/cyrillic_plain.pybtex.bbl
-${PYSITELIB}/tests/data/cyrillic_unsrt.bibtex.bbl
-${PYSITELIB}/tests/data/cyrillic_unsrt.pybtex.bbl
-${PYSITELIB}/tests/data/extrafields.bib
-${PYSITELIB}/tests/data/extrafields_unsrt.pybtex.bbl
-${PYSITELIB}/tests/data/jurabib.bst
-${PYSITELIB}/tests/data/plain.bst
-${PYSITELIB}/tests/data/unsrt.bst
-${PYSITELIB}/tests/data/unsrt_mixed.bst
-${PYSITELIB}/tests/data/xampl.bib
-${PYSITELIB}/tests/data/xampl_alpha.bibtex.bbl
-${PYSITELIB}/tests/data/xampl_jurabib.bibtex.bbl
-${PYSITELIB}/tests/data/xampl_mixed.bib
-${PYSITELIB}/tests/data/xampl_mixed_unsrt_mixed.aux
-${PYSITELIB}/tests/data/xampl_mixed_unsrt_mixed.bibtex.bbl
-${PYSITELIB}/tests/data/xampl_plain.bibtex.bbl
-${PYSITELIB}/tests/data/xampl_unsrt.bibtex.bbl
-${PYSITELIB}/tests/database_test/__init__.py
-${PYSITELIB}/tests/database_test/__init__.pyc
-${PYSITELIB}/tests/database_test/__init__.pyo
-${PYSITELIB}/tests/database_test/data.py
-${PYSITELIB}/tests/database_test/data.pyc
-${PYSITELIB}/tests/database_test/data.pyo
-${PYSITELIB}/tests/database_test/database_test.py
-${PYSITELIB}/tests/database_test/database_test.pyc
-${PYSITELIB}/tests/database_test/database_test.pyo
-${PYSITELIB}/tests/general_engine_test.py
-${PYSITELIB}/tests/general_engine_test.pyc
-${PYSITELIB}/tests/general_engine_test.pyo
-${PYSITELIB}/tests/io_test.py
-${PYSITELIB}/tests/io_test.pyc
-${PYSITELIB}/tests/io_test.pyo
-${PYSITELIB}/tests/parse_name_test.py
-${PYSITELIB}/tests/parse_name_test.pyc
-${PYSITELIB}/tests/parse_name_test.pyo
-${PYSITELIB}/tests/plugin_test.py
-${PYSITELIB}/tests/plugin_test.pyc
-${PYSITELIB}/tests/plugin_test.pyo
-${PYSITELIB}/tests/richtext_test.py
-${PYSITELIB}/tests/richtext_test.pyc
-${PYSITELIB}/tests/richtext_test.pyo
-${PYSITELIB}/tests/utils.py
-${PYSITELIB}/tests/utils.pyc
-${PYSITELIB}/tests/utils.pyo
diff -r 31dce72f751c -r 3b237efd9fcd textproc/py-pybtex/distinfo
--- a/textproc/py-pybtex/distinfo       Thu Dec 13 20:46:09 2018 +0000
+++ b/textproc/py-pybtex/distinfo       Thu Dec 13 21:01:01 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/12/13 20:45:49 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/12/13 21:01:01 adam Exp $
 
 SHA1 (pybtex-0.22.0.tar.gz) = cfd437f61d5b97607fe18e6993df454b68805360
 RMD160 (pybtex-0.22.0.tar.gz) = dbf66be6874dcb858f0ba8e2c19c739e039d0795
 SHA512 (pybtex-0.22.0.tar.gz) = eb10111414f8ff894d7d43462ffa02c748af052172439038ce2fdb3c0ca0aa735e480e2f31ee5e49ac29762c046a357e42efc58515d7a0f7d59369617d5f2660
 Size (pybtex-0.22.0.tar.gz) = 365268 bytes
+SHA1 (patch-setup.py) = 10bec6f1a6eace5baea5633425db1b7c4dabe2eb
diff -r 31dce72f751c -r 3b237efd9fcd textproc/py-pybtex/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pybtex/patches/patch-setup.py Thu Dec 13 21:01:01 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2018/12/13 21:01:01 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig      2018-12-13 20:55:25.000000000 +0000
++++ setup.py
+@@ -82,7 +82,7 @@ setup(
+     ],
+     install_requires=install_requires,
+     python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
+-    packages=find_packages(exclude=['docs']),
++    packages=find_packages(exclude=['docs','tests*']),
+     include_package_data=True,
+     cmdclass={'sdist': Sdist},
+     entry_points={



Home | Main Index | Thread Index | Old Index