Package python3-module-distutils-extra: 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 | %define modname python-distutils-extra %define pypi_name python_distutils_extra %define ver_major 3.0 %def_disable check Name: python3-module-distutils-extra Version: %ver_major Release: alt1 Summary: Integrate more support into Python's distutils Group: Development/Python3 License: GPLv2+ Url: https://salsa.debian.org/python-team/packages/python-distutils-extra Vcs: https://salsa.debian.org/python-team/packages/python-distutils-extra.git Source: %modname-%version.tar BuildArch: noarch Requires: python3-module-setuptools >= 54.0 BuildRequires(pre): rpm-build-python3 BuildRequires: python3(wheel) python3(setuptools) %{?_enable_check:BuildRequires: /proc python3-module-pytest python3-module-httplib2 BuildRequires: python3-module-pygobject3 intltool python3-module-pyflakes} %description Enables you to easily integrate gettext support, themed icons and documentation into Python's distutils. %prep %setup -n %modname-%version %build %pyproject_build %install %pyproject_install chmod a+x %buildroot%python3_sitelibdir/DistUtilsExtra/command/build_extra.py %check #export PYTHONPATH=%buildroot%python3_sitelibdir export PYTHONPATH=./ %__python3 -v test/auto.py %_bindir/pyflakes-py3 DistUtilsExtra/ test/ %files %python3_sitelibdir/DistUtilsExtra/ %python3_sitelibdir/%{pyproject_distinfo %pypi_name} %doc doc/* %changelog * Tue Oct 17 2023 Yuri N. Sedunov <aris@altlinux.org> 3.0-alt1 - 3.0 - ported to %%pyproject macros * Mon Jun 20 2022 Yuri N. Sedunov <aris@altlinux.org> 2.47-alt1 - 2.47 * Sat Mar 26 2022 Yuri N. Sedunov <aris@altlinux.org> 2.45-alt2 - disabled %%check broken with Python-3.10 * Wed Jan 12 2022 Yuri N. Sedunov <aris@altlinux.org> 2.45-alt1 - 2.45 (new Debian upstream) - enabled %%check * Fri Jul 23 2021 Yuri N. Sedunov <aris@altlinux.org> 2.39-alt2 - python3-only build * Tue Mar 28 2017 Yuri N. Sedunov <aris@altlinux.org> 2.39-alt1 - 2.39 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.38-alt1.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 2.38-alt1.1 - NMU: Use buildreq for BR. * Thu Oct 24 2013 Yuri N. Sedunov <aris@altlinux.org> 2.38-alt1 - 2.38 - new python3 module * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.29-alt1.1 - Rebuild with Python-2.7 * Sat Oct 01 2011 Andrey Cherepanov <cas@altlinux.org> 2.29-alt1 - New verion 2.29 * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.6-alt1.1 - Rebuilt with python 2.6 * Fri Aug 04 2009 Paul Wolneykien <manowar@altlinux.ru> 2.6-alt1 - Initial build for ALTLinux * Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2.6-2 - Bump release * Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2.6-1 - Minor spec file changes - Changed source to launchpad - Updated to new upstream version 2.6 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.91.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.91.2-2 - Changed license to GPLv2+ * Sat Nov 18 2008 Fabian Affolter <fabian@bernewireless.net> - 1.91.2-1 - Initial package for Fedora |