diff --git a/pybeam-0.7.tar.gz b/pybeam-0.7.tar.gz deleted file mode 100644 index 12e88e9..0000000 --- a/pybeam-0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc7a9c44b2b57fbdcd791d975dab369df3e3333011e6ac68b0ce74ea0fdc98bf -size 12263 diff --git a/pybeam-0.8.tar.gz b/pybeam-0.8.tar.gz new file mode 100644 index 0000000..4b7f4c1 --- /dev/null +++ b/pybeam-0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15c6e52e36e8d98dd9c07309ae3229190217cc4620faae0036e3ac1117baacb4 +size 10964 diff --git a/python-pybeam.changes b/python-pybeam.changes index 6d03b51..061e0ba 100644 --- a/python-pybeam.changes +++ b/python-pybeam.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Aug 29 12:06:21 UTC 2024 - pgajdos@suse.com + +- version update to 0.8 + * Use pyproject.toml and drop outdated Python support + * Drop outdated Python versions from GitHub Actions + * Initial support for gzip compressed BEAM files + ------------------------------------------------------------------- Thu Nov 5 15:33:34 UTC 2020 - Matwey Kornilov diff --git a/python-pybeam.spec b/python-pybeam.spec index 38eea1e..655289b 100644 --- a/python-pybeam.spec +++ b/python-pybeam.spec @@ -1,7 +1,7 @@ # -# spec file for package python +# spec file for package python-pybeam # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -26,24 +25,25 @@ %bcond_with test %endif Name: python-pybeam%{?psuffix} -Version: 0.7 +Version: 0.8 Release: 0 Summary: Python module to parse Erlang BEAM files License: MIT Group: Development/Languages/Python URL: https://github.com/matwey/pybeam Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-construct < 2.11 Requires: python-construct >= 2.9 -Requires: python-six >= 1.4.0 BuildArch: noarch %if %{with test} BuildRequires: %{python_module construct < 2.11} BuildRequires: %{python_module construct >= 2.9} -BuildRequires: %{python_module six} +BuildRequires: %{python_module pybeam} +BuildRequires: %{python_module pytest} %endif %python_subpackages @@ -62,28 +62,29 @@ imports, exports, atoms, as well as compile info and attribute chunks in pretty python format. %prep -%setup -q -n pybeam-%{version} +%autosetup -p1 -n pybeam-%{version} %build %if %{without test} -%python_build +%pyproject_wheel %endif %install %if %{without test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} -%python_exec -m unittest discover +%pytest %endif %if %{without test} %files %{python_files} %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pybeam +%{python_sitelib}/pybeam-*-info %endif %changelog