Package python3-module-dulwich: 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 | %define _unpackaged_files_terminate_build 1 %define pypi_name dulwich %def_disable check Name: python3-module-%pypi_name Version: 0.22.1 Release: alt1 Summary: Python Git Library License: Apache-2.0 or GPL-2.0-or-later Group: Development/Python3 Url: https://www.dulwich.io Vcs: https://github.com/dulwich/dulwich.git Source: https://pypi.io/packages/source/d/%pypi_name/%pypi_name-%version.tar.gz %py3_provides %pypi_name BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-setuptools python3-module-wheel %{?_enable_check:BuildRequires: python3(tox) BuildRequires: python3(urllib3) BuildRequires: python3(fastimport)} BuildRequires: python3-module-setuptools-rust rust rust-cargo #gpg.errors.GPGMEError: GPGME: Invalid crypto engine #BuildRequires: python3(gpg) /usr/bin/gpg %description Simple Python implementation of the Git file formats and protocols. Dulwich is the place where Mr. and Mrs. Git live in one of the Monty Python sketches. All functionality is available in pure Python, but (optional) C extensions are also available for better performance. %package tests Summary: Tests for dulwich Group: Development/Python3 Requires: %name = %EVR %description tests Simple Python implementation of the Git file formats and protocols. Dulwich is the place where Mr. and Mrs. Git live in one of the Monty Python sketches. All functionality is available in pure Python, but (optional) C extensions are also available for better performance. This package contains tests for dulwich. %prep %setup -n %pypi_name-%version %build mkdir -p .cargo cat > .cargo/config << EOF [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" [profile.release] strip = "none" lto= "thin" debug = "full" EOF %pyproject_build %install %pyproject_install pushd %buildroot%_bindir for i in $(ls); do mv $i $i.py3 done popd %check %tox_check %files %_bindir/* %python3_sitelibdir/* %exclude %python3_sitelibdir/*/tests %exclude %python3_sitelibdir/*/contrib %doc AUTHORS COPYING NEWS docs/*.txt %doc docs/tutorial PKG-INFO README* examples %files tests %python3_sitelibdir/*/tests %python3_sitelibdir/*/contrib %changelog * Thu May 09 2024 L.A. Kostis <lakostis@altlinux.ru> 0.22.1-alt1 - NMU: + 0.22.1. + added rust BR. * Thu May 18 2023 Grigory Ustinov <grenka@altlinux.org> 0.21.5-alt2 - Bootstrap for python3.11. * Wed May 10 2023 Yuri N. Sedunov <aris@altlinux.org> 0.21.5-alt1 - 0.21.5 * Tue Mar 28 2023 Yuri N. Sedunov <aris@altlinux.org> 0.21.3-alt1 - 0.21.3 * Sat Dec 10 2022 Yuri N. Sedunov <aris@altlinux.org> 0.20.50-alt1 - 0.20.50 - fixed Url, Vcs, Source and License tags - ported to %%pyproject* macros - enabled %%check * Mon Aug 12 2019 Anatoly Kitaikin <cetus@altlinux.org> 0.19.11-alt1 - Release 0.19.11 * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.16.3-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Wed Jan 18 2017 Igor Vlasenko <viy@altlinux.ru> 0.16.3-alt1 - automated PyPI update * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.8.2-alt1.git20120327.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jul 31 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.2-alt1.git20120327 - Initial build for Sisyphus |