commit 5e86013d7f0f3b35c354bf740112f35e8df746ee Author: Josh Lay Date: Sun Mar 12 17:09:03 2023 -0500 init diff --git a/python-indexedtar/1.0.1.tar.gz b/python-indexedtar/1.0.1.tar.gz new file mode 100644 index 0000000..9979f27 Binary files /dev/null and b/python-indexedtar/1.0.1.tar.gz differ diff --git a/python-indexedtar/python-indexedtar.spec b/python-indexedtar/python-indexedtar.spec new file mode 100644 index 0000000..6b9f7fe --- /dev/null +++ b/python-indexedtar/python-indexedtar.spec @@ -0,0 +1,60 @@ +# Created by pyp2rpm-3.3.8 +%global pypi_name indexedtar +%global pypi_version 1.0.1 +%global git_source https://github.com/colon3ltocard/pyindexedtar/archive/refs/tags/%{pypi_version}.tar.gz + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: build/search/extract_from uncompressed indexed tar archives for fast random access + +License: MIT +URL: https://github.com/colon3ltocard/pyindexedtar +Source0: %{git_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +![example workflow]( indexedtarAn indexed Tar for big data archives featuring +fast random access with an index bundled inside the tarfile.The use case is to +retrieve members of a "many members" tar archive without seeking from one +member to the next.* [Goals]( * [Installation]( * [Usage of the itar cli]( * +[Usage of the IndexedTar class]( + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(setuptools) +%description -n python3-%{pypi_name} +![example workflow]( indexedtarAn indexed Tar for big data archives featuring +fast random access with an index bundled inside the tarfile.The use case is to +retrieve members of a "many members" tar archive without seeking from one +member to the next.* [Goals]( * [Installation]( * [Usage of the itar cli]( * +[Usage of the IndexedTar class]( + + +%prep +%autosetup -n py%{pypi_name}-%{pypi_version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/itar +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Wed Nov 30 2022 Josh Lay - 1.0.1-1 +- Initial package. diff --git a/python-mgzip/0.2.1.tar.gz b/python-mgzip/0.2.1.tar.gz new file mode 100644 index 0000000..c8980da Binary files /dev/null and b/python-mgzip/0.2.1.tar.gz differ diff --git a/python-mgzip/python-mgzip.spec b/python-mgzip/python-mgzip.spec new file mode 100644 index 0000000..22f00eb --- /dev/null +++ b/python-mgzip/python-mgzip.spec @@ -0,0 +1,58 @@ +# Created by pyp2rpm-3.3.8 +%global pypi_name mgzip +%global pypi_version 0.2.1 +%global pypi_source https://github.com/vinlyx/mgzip/archive/refs/tags/%{pypi_version}.tar.gz + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: A multi-threading implementation of Python gzip module + +License: MIT +URL: https://github.com/vinlyx/mgzip +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +A multi-threading implement of Python gzip moduleUsing a block indexed GZIP +file format to enable compress and decompress in parallel. This implement use +'FEXTRA' to record the index of compressed member, which is defined in offical +GZIP file format specification version 4.3, so it is fully compatible with +normal GZIP implement.This module is **25X** faster for compression and **7X** +faster... + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +A multi-threading implement of Python gzip moduleUsing a block indexed GZIP +file format to enable compress and decompress in parallel. This implement use +'FEXTRA' to record the index of compressed member, which is defined in offical +GZIP file format specification version 4.3, so it is fully compatible with +normal GZIP implement.This module is **25X** faster for compression and **7X** +faster... + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.md +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Tue Nov 29 2022 Josh Lay - 0.2.1-1 +- Initial package. diff --git a/python-xz/python-xz-0.4.0.tar.gz b/python-xz/python-xz-0.4.0.tar.gz new file mode 100644 index 0000000..8f342d5 Binary files /dev/null and b/python-xz/python-xz-0.4.0.tar.gz differ diff --git a/python-xz/python-xz.spec b/python-xz/python-xz.spec new file mode 100644 index 0000000..269ad37 --- /dev/null +++ b/python-xz/python-xz.spec @@ -0,0 +1,61 @@ +%global mod_name python-xz +%global mod_version 0.4.0 +%global srcname xz +%global pypi_source https://files.pythonhosted.org/packages/fe/2f/7ed0c25005eba0efb1cea3cdf4a325852d63167cc77f96b0a0534d19e712/python-xz-0.4.0.tar.gz + +Name: python-%{srcname} +Version: %{mod_version} +Release: 1%{?dist} +Summary: Pure Python implementation of the XZ file format with random access support + +License: MIT +URL: https://github.com/rogdham/python-xz +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools-scm) +BuildRequires: python3dist(wheel) + +%description +Pure Python implementation of the XZ file format +with random access support + +Leveraging the lzma module for fast (de)compression + + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +Pure Python implementation of the XZ file format +with random access support + +Leveraging the lzma module for fast (de)compression + + +%prep +%autosetup -n %{mod_name}-%{mod_version} +# Remove bundled egg-info +rm -rf %{mod_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.md tests/integration/test_readme.py +%{python3_sitelib}/xz +%{python3_sitelib}/python_xz-%{mod_version}-py%{python3_version}.egg-info + +%changelog +* Wed Nov 30 2022 Josh Lay - 0.4.0-1 +- Initial package. diff --git a/python-yq/yq-3.1.0.tar.gz b/python-yq/yq-3.1.0.tar.gz new file mode 100644 index 0000000..5b75226 Binary files /dev/null and b/python-yq/yq-3.1.0.tar.gz differ diff --git a/python-yq/yq.spec b/python-yq/yq.spec new file mode 100644 index 0000000..d0bf2e8 --- /dev/null +++ b/python-yq/yq.spec @@ -0,0 +1,71 @@ +# Created by pyp2rpm-3.3.8 +# does not include docs +# these require python3 dep: guzzle_spinx_theme +# have it packaged, but requires mockchain to satisfy (not yet created) buildrequires for *this* package +# ref: https://linux.die.net/man/1/mockchain +# and: '~/git/python-guzzle_sphinx_theme' +%global pypi_name yq +%global pypi_version 3.1.0 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: Command-line YAML/XML processor - jq wrapper for YAML/XML documents + +License: Apache Software License +URL: https://github.com/kislyuk/yq +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(argcomplete) >= 1.8.1 +BuildRequires: python3dist(coverage) +BuildRequires: python3dist(flake8) +BuildRequires: python3dist(pyyaml) >= 5.3.1 +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools-scm) >= 3.4.3 +BuildRequires: python3dist(toml) >= 0.10 +BuildRequires: python3dist(wheel) +BuildRequires: python3dist(xmltodict) >= 0.11 +BuildRequires: python3dist(sphinx) + +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(argcomplete) >= 1.8.1 +Requires: python3dist(coverage) +Requires: python3dist(flake8) +Requires: python3dist(pyyaml) >= 5.3.1 +Requires: python3dist(setuptools) +Requires: python3dist(toml) >= 0.10 +Requires: python3dist(wheel) +Requires: python3dist(xmltodict) >= 0.11 +%description +yq: Command-line YAML/XML/TOML processor +jq wrapper for YAML, XML, TOML documents + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +# %check +# %{__python3} setup.py test + +%files +%license LICENSE +%doc README.rst +%{_bindir}/tomlq +%{_bindir}/xq +%{_bindir}/yq +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Wed Nov 16 2022 Josh Lay - 3.1.0-1 +- Initial package.