Package python3-module-zope.structuredtext: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | %define oname zope.structuredtext %def_with check Name: python3-module-%oname Version: 5.0 Release: alt2 Summary: StructuredText parser License: ZPL-2.1 Group: Development/Python3 Url: https://pypi.org/project/zope.structuredtext Vcs: https://github.com/zopefoundation/zope.structuredtext Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel %if_with check BuildRequires: python3-module-zope.testrunner BuildRequires: python3-module-sphinx %endif %description This package provides a parser and renderers for the classic Zope "structured text" markup dialect (STX). STX is a plain text markup in which document structure is signalled primarily by identation. %package tests Summary: Tests for StructuredText parser Group: Development/Python3 Requires: %name = %EVR %description tests This package provides a parser and renderers for the classic Zope "structured text" markup dialect (STX). STX is a plain text markup in which document structure is signalled primarily by identation. This package contains tests for StructuredText parser. %prep %setup %build %pyproject_build %install %pyproject_install %if "%python3_sitelibdir_noarch" != "%python3_sitelibdir" install -d %buildroot%python3_sitelibdir mv %buildroot%python3_sitelibdir_noarch/* \ %buildroot%python3_sitelibdir/ %endif %check %pyproject_run -- zope-testrunner --test-path=src -vc %files %doc *.txt *.rst docs/*.rst %python3_sitelibdir/zope %python3_sitelibdir/%oname-%version.dist-info %exclude %python3_sitelibdir/*.pth %exclude %python3_sitelibdir/*/*/tests.* %exclude %python3_sitelibdir/*/*/*/examples* %files tests %python3_sitelibdir/*/*/tests.* %python3_sitelibdir/*/*/*/examples* %changelog * Sun Jan 21 2024 Anton Vyatkin <toni@altlinux.org> 5.0-alt2 - Fixed FTBFS. * Wed May 10 2023 Anton Vyatkin <toni@altlinux.org> 5.0-alt1 - New version 5.0. * Mon Mar 20 2023 Anton Vyatkin <toni@altlinux.org> 4.4-alt1 - New version 4.4. * Wed Jun 29 2022 Grigory Ustinov <grenka@altlinux.org> 4.1.1-alt3 - Fixed BuildRequires. * Fri Nov 29 2019 Andrey Bychkov <mrdrew@altlinux.org> 4.1.1-alt2 - python2 disabled * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 4.1.1-alt1.dev0.git20150203.1.1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Tue Jun 07 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.1.1-alt1.dev0.git20150203.1.1 - (AUTO) subst_x86_64. * Mon Mar 14 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.1.1-alt1.dev0.git20150203.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Sat Aug 29 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.1-alt1.dev0.git20150203 - Version 4.1.1.dev0 - Enabled check * Tue Dec 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.0-alt1 - Version 4.1.0 * Fri Jul 18 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.0-alt2 - Added module for Python 3 * Wed Apr 10 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.0-alt1 - Version 4.0.0 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.5.1-alt2.1 - Rebuild with Python-2.7 * Wed Jun 29 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5.1-alt2 - Added necessary requirements - Excluded *.pth * Sat May 21 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5.1-alt1 - Initial build for Sisyphus |