diff --git a/anda/python/orjson/anda.hcl b/anda/python/orjson/anda.hcl deleted file mode 100644 index 10beac604e..0000000000 --- a/anda/python/orjson/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "python3-orjson.spec" - } -} diff --git a/anda/python/orjson/python3-orjson.spec b/anda/python/orjson/python3-orjson.spec deleted file mode 100644 index 4f4e63347d..0000000000 --- a/anda/python/orjson/python3-orjson.spec +++ /dev/null @@ -1,45 +0,0 @@ -%global debug_package %{nil} - -Name: python3-orjson -Version: 3.9.0 -Release: 1%{?dist} -Summary: Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy -License: MIT OR Apache-2.0 -URL: https://github.com/ijl/orjson -Source0: %{url}/archive/refs/tags/%{version}.tar.gz -BuildRequires: python3-installer python3.11 python3-pip maturin cargo -%{?python_provide:%python_provide python3-orjson} -Provides: python3.11dist(orjson) = %{version} - -%description -orjson is a fast, correct JSON library for Python. It benchmarks as the fastest Python library -for JSON and is more correct than the standard json library or other third-party libraries. It -serializes dataclass, datetime, numpy, and UUID instances natively. - -%prep -%autosetup -n orjson-%{version} - -%build -maturin build --release --strip - -%install -sed 's@^\s+"repository":.+?^@@' setup.py > setup.py -python3.11 -m installer --destdir="%{buildroot}" target/wheels/*.whl -rm -rf %{python3_sitelib}/orjson/__pycache__ - -%files -%doc README.md -%license /usr/lib64/python*/site-packages/orjson-%{version}.dist-info/license_files/LICENSE-MIT -%license /usr/lib64/python*/site-packages/orjson-%{version}.dist-info/license_files/LICENSE-APACHE -/usr/lib64/python*/site-packages/orjson-%{version}.dist-info/METADATA -/usr/lib64/python*/site-packages/orjson-%{version}.dist-info/RECORD -/usr/lib64/python*/site-packages/orjson-%{version}.dist-info/WHEEL -/usr/lib64/python*/site-packages/orjson/__init__.py -/usr/lib64/python*/site-packages/orjson/__init__.pyi -/usr/lib64/python*/site-packages/orjson/__pycache__/__init__.cpython-*.pyc -/usr/lib64/python*/site-packages/orjson/orjson.cpython-*-linux-gnu.so -/usr/lib64/python*/site-packages/orjson/py.typed - -%changelog -* Sun Jan 08 2023 windowsboy111 - 3.8.4-1 -- Initial package. diff --git a/anda/python/orjson/update.rhai b/anda/python/orjson/update.rhai deleted file mode 100644 index b3cb7a6345..0000000000 --- a/anda/python/orjson/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("ijl/orjson")); diff --git a/anda/python/python3-protobuf/anda.hcl b/anda/python/python3-protobuf/anda.hcl deleted file mode 100644 index 4937260dad..0000000000 --- a/anda/python/python3-protobuf/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "python3-python3-protobuf.spec" - } -} diff --git a/anda/python/python3-protobuf/python3-python3-protobuf.spec b/anda/python/python3-protobuf/python3-python3-protobuf.spec deleted file mode 100644 index 83439e0ce8..0000000000 --- a/anda/python/python3-protobuf/python3-python3-protobuf.spec +++ /dev/null @@ -1,68 +0,0 @@ -# Created by pyp2rpm-3.3.8 -%global pypi_name python3-protobuf - -Name: python3-%{pypi_name} -Version: 2.5.0 -Release: 1%{?dist} -Summary: Protocol Buffers - -License: New BSD License -URL: https://developers.google.com/protocol-buffers/ -Source0: %{pypi_source} -BuildArch: noarch - -BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) - -%description -Protocol Buffers are Google's data interchange format. - -%prep -%autosetup -n %{pypi_name}-%{version} -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info - -# so apparently they decided to mix tabs and spaces -# dirty fix -sed "s@\t@ @g" google/protobuf/internal/cpp_message.py > google/protobuf/internal/cpp_message.py - -%build -%py3_build - -%install -%py3_install - -%dnl %check -%dnl %{__python3} setup.py test - -%files -%doc README.txt -%{python3_sitelib}/google/protobuf/compiler/plugin_pb2.py -%{python3_sitelib}/google/protobuf/descriptor.py -%{python3_sitelib}/google/protobuf/descriptor_database.py -%{python3_sitelib}/google/protobuf/descriptor_pb2.py -%{python3_sitelib}/google/protobuf/descriptor_pool.py -%{python3_sitelib}/google/protobuf/internal/api_implementation.py -%{python3_sitelib}/google/protobuf/internal/containers.py -%{python3_sitelib}/google/protobuf/internal/cpp_message.py -%{python3_sitelib}/google/protobuf/internal/decoder.py -%{python3_sitelib}/google/protobuf/internal/encoder.py -%{python3_sitelib}/google/protobuf/internal/enum_type_wrapper.py -%{python3_sitelib}/google/protobuf/internal/message_listener.py -%{python3_sitelib}/google/protobuf/internal/python_message.py -%{python3_sitelib}/google/protobuf/internal/type_checkers.py -%{python3_sitelib}/google/protobuf/internal/utils.py -%{python3_sitelib}/google/protobuf/internal/wire_format.py -%{python3_sitelib}/google/protobuf/message.py -%{python3_sitelib}/google/protobuf/message_factory.py -%{python3_sitelib}/google/protobuf/reflection.py -%{python3_sitelib}/google/protobuf/service.py -%{python3_sitelib}/google/protobuf/service_reflection.py -%{python3_sitelib}/google/protobuf/text_format.py -%{python3_sitelib}/google -%{python3_sitelib}/python3_protobuf-%{version}-py%{python3_version}-*.pth -%{python3_sitelib}/python3_protobuf-%{version}-py%{python3_version}.egg-info - -%changelog -* Sun Jan 08 2023 windowsboy111 - 2.5.0-1 -- Initial package. diff --git a/anda/python/python3-protobuf/update.rhai b/anda/python/python3-protobuf/update.rhai deleted file mode 100644 index 40afc1f5ff..0000000000 --- a/anda/python/python3-protobuf/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(pypi("python3-protobuf")); diff --git a/anda/rust/detox/anda.hcl b/anda/rust/detox/anda.hcl deleted file mode 100644 index 5d1e8e449a..0000000000 --- a/anda/rust/detox/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "rust-detox.spec" - } -} diff --git a/anda/rust/detox/rust-detox.spec b/anda/rust/detox/rust-detox.spec deleted file mode 100644 index 9a21c46586..0000000000 --- a/anda/rust/detox/rust-detox.spec +++ /dev/null @@ -1,48 +0,0 @@ -# Generated by rust2rpm 23 -%bcond_without check - -%global crate detox - -Name: rust-detox -Version: 0.1.2 -Release: %autorelease -Summary: Quickly clean up your development directories on disk - -License: MIT -URL: https://crates.io/crates/detox -Source: %{crates_source} - -BuildRequires: anda-srpm-macros rust-packaging >= 21 - -%global _description %{expand: -Quickly clean up your development directories on disk.} - -%description %{_description} - -%package -n %{crate} -Summary: %{summary} - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE -%doc README.md -%{_bindir}/detox - -%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -%cargo_prep_online - -%build -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -%autochangelog diff --git a/anda/rust/detox/update.rhai b/anda/rust/detox/update.rhai deleted file mode 100644 index 2f8a12eff3..0000000000 --- a/anda/rust/detox/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("detox")); diff --git a/anda/rust/maturin/anda.hcl b/anda/rust/maturin/anda.hcl index 413a17552e..6152003a22 100644 --- a/anda/rust/maturin/anda.hcl +++ b/anda/rust/maturin/anda.hcl @@ -1,5 +1,5 @@ project pkg { rpm { - spec = "rust-maturin.spec" + spec = "rust-terra-maturin.spec" } } diff --git a/anda/rust/maturin/rust-maturin.spec b/anda/rust/maturin/rust-terra-maturin.spec similarity index 97% rename from anda/rust/maturin/rust-maturin.spec rename to anda/rust/maturin/rust-terra-maturin.spec index 8226baf1ce..273d423cbe 100644 --- a/anda/rust/maturin/rust-maturin.spec +++ b/anda/rust/maturin/rust-terra-maturin.spec @@ -1,7 +1,7 @@ # Generated by rust2rpm 24 %global crate maturin -Name: rust-maturin +Name: rust-terra-maturin Version: 1.0.1 Release: 1%{?dist} Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages @@ -11,6 +11,7 @@ URL: https://crates.io/crates/maturin Source: %{crates_source} BuildRequires: pkgconfig anda-srpm-macros cargo-rpm-macros >= 24 +Conflicts: rust-maturin %global _description %{expand: Build and publish crates with pyo3, rust-cpython and cffi bindings as @@ -18,12 +19,13 @@ well as rust binaries as python packages.} %description %{_description} -%package -n %{crate} +%package -n terra-%{crate} Summary: %{summary} +Conflicts: %crate -%description -n %{crate} %{_description} +%description -n terra-%{crate} %{_description} -%files -n %{crate} +%files -n terra-%{crate} %license license-apache %license license-mit %doc Changelog.md @@ -41,11 +43,6 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/license-apache -%license %{crate_instdir}/license-mit -%doc %{crate_instdir}/Changelog.md -%doc %{crate_instdir}/Code-of-Conduct.md -%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel diff --git a/anda/rust/zoxide/anda.hcl b/anda/rust/zoxide/anda.hcl deleted file mode 100644 index ea8109cd89..0000000000 --- a/anda/rust/zoxide/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "rust-zoxide.spec" - } -} diff --git a/anda/rust/zoxide/rust-zoxide.spec b/anda/rust/zoxide/rust-zoxide.spec deleted file mode 100644 index d3c35cbfb6..0000000000 --- a/anda/rust/zoxide/rust-zoxide.spec +++ /dev/null @@ -1,50 +0,0 @@ -# Generated by rust2rpm 23 -%define debug_package %{nil} -%global crate zoxide - -Name: rust-zoxide -Version: 0.9.1 -Release: 1%{?dist} -Summary: Smarter cd command for your terminal - -License: MIT -URL: https://crates.io/crates/zoxide -Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies -Patch: zoxide-fix-metadata-auto.diff - -BuildRequires: anda-srpm-macros rust-packaging >= 21 - -%global _description %{expand: -Smarter cd command for your terminal.} - -%description %{_description} - -%package -n %{crate} -Summary: %{summary} - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE -%doc CHANGELOG.md -%doc README.md -%{_bindir}/zoxide - -%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -%cargo_prep_online - -%build -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -%autochangelog diff --git a/anda/rust/zoxide/update.rhai b/anda/rust/zoxide/update.rhai deleted file mode 100644 index d88b5df410..0000000000 --- a/anda/rust/zoxide/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("zoxide")); diff --git a/anda/rust/zoxide/zoxide-fix-metadata-auto.diff b/anda/rust/zoxide/zoxide-fix-metadata-auto.diff deleted file mode 100644 index e8f0e007c2..0000000000 --- a/anda/rust/zoxide/zoxide-fix-metadata-auto.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- zoxide-0.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ zoxide-0.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -147,8 +147,5 @@ - ] - default-features = false - --[target."cfg(windows)".dependencies.which] --version = "4.2.5" -- - [badges.maintenance] - status = "actively-developed"