forked from pool/python-boolean.py
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-boolean.py?expand=0&rev=10
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
python-boolean.py-4.0.tar.gz
Normal file
3
python-boolean.py-4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18790aa5a233293688483eddc4dd1fa73c7165bc226b00009ed2fa9ce5a06ee6
|
||||
size 33855
|
||||
42
python-boolean.py.changes
Normal file
42
python-boolean.py.changes
Normal file
@@ -0,0 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 15 11:56:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 11:24:15 UTC 2022 - Matthias Fehring <buschmann23@opensuse.org>
|
||||
|
||||
- update to 4.0
|
||||
* API changes
|
||||
+ Drop support for Python 2.
|
||||
+ Test on Python 3.10
|
||||
+ Make Expression.sort_order an instance attributes and not a
|
||||
class attribute
|
||||
* Misc.
|
||||
+ Correct licensing documentation
|
||||
+ Improve docstringf and apply minor refactorings
|
||||
+ Adopt black code style and isort for imports
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 08:50:56 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 17:34:52 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 3.7
|
||||
* Add new sort argument to simplify() to optionally not sort when
|
||||
simplifying expressions (e.g. not applying "commutativity").
|
||||
* Add new argument to tokenizer to optionally accept extra
|
||||
characters in symbol tokens.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 07:14:25 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Use noun phrase in summary.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 13:15:45 UTC 2019 - Carmen Bianca Bakker <carmen@carmenbianca.eu>
|
||||
|
||||
- New package, version 3.6
|
||||
64
python-boolean.py.spec
Normal file
64
python-boolean.py.spec
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package python-boolean.py
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-boolean.py
|
||||
Version: 4.0
|
||||
Release: 0
|
||||
Summary: Module to define boolean algebras and create/parse boolean expressions
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/bastikr/boolean.py
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
"boolean.py" is a library implementing a boolean algebra. It defines
|
||||
two base elements, TRUE and FALSE, and a Symbol class that can take on one of
|
||||
these two values. Calculations are done in terms of AND, OR and NOT - other
|
||||
compositions like XOR and NAND are not implemented but can be emulated with
|
||||
AND or and NOT. Expressions are constructed from parsed strings or in Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n boolean.py-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
sphinx-build docs html
|
||||
rm -rf html/.{doctrees,buildinfo}
|
||||
|
||||
%check
|
||||
%pyunittest discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst CHANGELOG.rst html/
|
||||
%{python_sitelib}/boolean
|
||||
%{python_sitelib}/boolean[._]py-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user