Пакет python3-module-zope.sendmail: 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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | %define _unpackaged_files_terminate_build 1 %define pypi_name zope.sendmail %define ns_name zope %define mod_name sendmail %def_with check Name: python3-module-%pypi_name Version: 6.2 Release: alt1 Summary: Zope sendmail License: ZPL-2.1 Group: Development/Python3 Url: https://pypi.org/project/zope.sendmail/ Vcs: https://github.com/zopefoundation/zope.sendmail.git Source: %name-%version.tar Source1: %pyproject_deps_config_name # this projects depends on pkg_resources that is subpackaged in ALTLinux %add_pyproject_deps_runtime_filter setuptools Requires: python3-module-pkg_resources %pyproject_runtimedeps_metadata # mapping from PyPI name # https://www.altlinux.org/Management_of_Python_dependencies_sources#Mapping_project_names_to_distro_names Provides: python3-module-%{pep503_name %pypi_name} = %EVR BuildRequires(pre): rpm-build-pyproject %pyproject_builddeps_build %if_with check %pyproject_builddeps_metadata_extra test BuildRequires: python3-module-zope.security-tests BuildRequires: python3-module-zope.component-tests BuildRequires: python3-module-zope.interface-tests %endif %description zope.sendmail is a package for email sending from Zope 3 applications. %package tests Summary: Tests for Zope sendmail Group: Development/Python3 Requires: %name = %EVR %py3_requires zope.testrunner %py3_requires zope.testing Requires: python3-module-zope.security-tests Requires: python3-module-zope.component-tests Requires: python3-module-zope.interface-tests %description tests zope.sendmail is a package for email sending from Zope 3 applications. This package contains tests for %pypi_name. %prep %setup %pyproject_deps_resync_build %pyproject_deps_resync_metadata %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 %_bindir/* %python3_sitelibdir/%ns_name/%mod_name/ %python3_sitelibdir/%pypi_name-%version.dist-info/ %exclude %python3_sitelibdir/*.pth %exclude %python3_sitelibdir/*/*/tests %files tests %python3_sitelibdir/*/*/tests %changelog * Mon Mar 25 2024 Anton Vyatkin <toni@altlinux.org> 6.2-alt1 - New version 6.2. * Fri Feb 09 2024 Anton Vyatkin <toni@altlinux.org> 6.1-alt1 - New version 6.1. * Tue Aug 22 2023 Anton Vyatkin <toni@altlinux.org> 6.0-alt1 - New version 6.0. * Sat May 20 2023 Anton Vyatkin <toni@altlinux.org> 5.3-alt1 - New version 5.3. * Fri Sep 24 2021 Nikolai Kostrigin <nickel@altlinux.org> 5.2-alt1 - 5.0 -> 5.2 * Tue Dec 24 2019 Nikolai Kostrigin <nickel@altlinux.org> 5.0-alt1 - NMU: 4.0.2 -> 5.0 - Remove python2 module build - Rearrange unittests execution * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 4.0.2-alt1.dev0.git20150613.1.1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Tue Jun 07 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.2-alt1.dev0.git20150613.1.1 - (AUTO) subst_x86_64. * Mon Mar 14 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.2-alt1.dev0.git20150613.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Fri Aug 28 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.2-alt1.dev0.git20150613 - Version 4.0.2.dev0 - Enabled check * Tue Dec 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.1-alt1 - Version 4.0.1 * Mon Dec 22 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.0-alt3 - Version 4.0.0 * Sun Jul 27 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.0-alt2.a2 - Added module for Python 3 * Wed Apr 10 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.0-alt1.a2 - Version 4.0.0a2 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.7.4-alt2.1 - Rebuild with Python-2.7 * Wed Jun 29 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.7.4-alt2 - Added necessary requirements - Excluded *.pth * Fri May 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.7.4-alt1 - Initial build for Sisyphus |