Compare commits

8 Commits

Author SHA256 Message Date
e9ec8620d9 Accepting request 1285123 from devel:languages:python
- Convert to pip-based build
- Fix packaging

OBS-URL: https://build.opensuse.org/request/show/1285123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-shijian?expand=0&rev=7
2025-06-12 13:54:39 +00:00
efc67f7db0 I don't understand, but ok, I hope
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=22
2025-06-12 11:50:15 +00:00
f3701abb63 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=21 2025-06-12 11:48:37 +00:00
141e17972c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=20 2025-06-12 11:43:57 +00:00
ebb385df04 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=19 2025-06-12 11:37:49 +00:00
5c7c31fa61 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=18 2025-06-12 11:22:59 +00:00
e621dedf4a - Fix packaging
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=17
2025-06-12 11:10:02 +00:00
08f0e69e6a - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shijian?expand=0&rev=16
2025-06-12 11:03:50 +00:00
3 changed files with 1887 additions and 4 deletions

1871
__init__.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 12 11:02:40 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
- Fix packaging
-------------------------------------------------------------------
Wed Dec 13 10:10:03 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-shijian
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -24,8 +24,11 @@ Summary: Python utility functions relating to time and filenames
License: GPL-3.0-only
URL: https://github.com/wdbm/shijian
Source0: https://files.pythonhosted.org/packages/source/s/shijian/shijian-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/wdbm/shijian/refs/heads/master/shijian/__init__.py
Source100: python-shijian-rpmlintrc
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-matplotlib
@@ -48,12 +51,13 @@ sequences.
%prep
%setup -q -n shijian-%{version}
cp %{SOURCE1} shijian.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,6 +66,8 @@ sequences.
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/shijian.py
%pycache_only %{python_sitelib}/__pycache__/shijian*
%{python_sitelib}/shijian-%{version}*-info
%changelog