Compare commits

1 Commits
main ... 1.1

4 changed files with 14 additions and 23 deletions

BIN
pybeam-0.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pybeam-0.8.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,11 +1,3 @@
-------------------------------------------------------------------
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 <matwey.kornilov@gmail.com> Thu Nov 5 15:33:34 UTC 2020 - Matwey Kornilov <matwey.kornilov@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pybeam # spec file for package python
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@@ -25,25 +26,24 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-pybeam%{?psuffix} Name: python-pybeam%{?psuffix}
Version: 0.8 Version: 0.7
Release: 0 Release: 0
Summary: Python module to parse Erlang BEAM files Summary: Python module to parse Erlang BEAM files
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/matwey/pybeam URL: https://github.com/matwey/pybeam
Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-construct < 2.11 Requires: python-construct < 2.11
Requires: python-construct >= 2.9 Requires: python-construct >= 2.9
Requires: python-six >= 1.4.0
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module construct < 2.11} BuildRequires: %{python_module construct < 2.11}
BuildRequires: %{python_module construct >= 2.9} BuildRequires: %{python_module construct >= 2.9}
BuildRequires: %{python_module pybeam} BuildRequires: %{python_module six}
BuildRequires: %{python_module pytest}
%endif %endif
%python_subpackages %python_subpackages
@@ -62,29 +62,28 @@ imports, exports, atoms, as well as compile info and attribute
chunks in pretty python format. chunks in pretty python format.
%prep %prep
%autosetup -p1 -n pybeam-%{version} %setup -q -n pybeam-%{version}
%build %build
%if %{without test} %if %{without test}
%pyproject_wheel %python_build
%endif %endif
%install %install
%if %{without test} %if %{without test}
%pyproject_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
%check %check
%if %{with test} %if %{with test}
%pytest %python_exec -m unittest discover
%endif %endif
%if %{without test} %if %{without test}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%{python_sitelib}/pybeam %{python_sitelib}/*
%{python_sitelib}/pybeam-*-info
%endif %endif
%changelog %changelog