14
0

Compare commits

6 Commits

Author SHA256 Message Date
5ab2c9b678 Accepting request 1312064 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1312064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastimport?expand=0&rev=12
2025-10-17 18:14:37 +00:00
498e2d316e - Update to 0.9.16
* Make original-oid parameter backwards compatible
- from version 0.9.15
  * Update for new description format.
  * Better assertions.
  * Exclude pypy3 on github actions on windows/mac
  * Add typing support.
  * Drop 3.5 support.
  * Install tests in sdist but not wheels
  * s/releaser/disperse/
  * Update disperse.conf.
  * Ship py.typed.
  * add pyproject
  * install py.typed
  * Run mypy.
  * Add make typing target
  * Support Python >= 3.7, <= 3.11
  * Use disperse action
  * Migrate to pyproject.toml
  * Set dependencies field.
  * Add readthedocs configuration
  * Fix pyproject.toml
  * Drop obsolete travis-ci badge
  * Fix readthedocs config
  * Fix flake8
  * Add github metadata
  * Drop unused NEWS file
  * Drop python 3.7 support
  * Bump actions/checkout from 2 to 4
  * Ruff format

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastimport?expand=0&rev=19
2025-10-17 14:52:10 +00:00
e80632e48b Accepting request 1284205 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1284205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastimport?expand=0&rev=11
2025-06-10 07:08:05 +00:00
df8e55a3e5 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastimport?expand=0&rev=17
2025-06-09 13:57:57 +00:00
5597fe7a1d Accepting request 1280522 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastimport?expand=0&rev=10
2025-05-27 16:42:48 +00:00
a03f18b8ce - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastimport?expand=0&rev=15
2025-05-27 11:29:29 +00:00
4 changed files with 83 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca
size 41791

3
fastimport-0.9.16.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a0a6fb56aa3607de71ad4e7abd551afe9bdac94bab8d2dd74d8e0f98f52e35e
size 50475

View File

@@ -1,3 +1,68 @@
-------------------------------------------------------------------
Fri Oct 17 09:27:39 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.9.16
* Make original-oid parameter backwards compatible
- from version 0.9.15
* Update for new description format.
* Better assertions.
* Exclude pypy3 on github actions on windows/mac
* Add typing support.
* Drop 3.5 support.
* Install tests in sdist but not wheels
* s/releaser/disperse/
* Update disperse.conf.
* Ship py.typed.
* add pyproject
* install py.typed
* Run mypy.
* Add make typing target
* Support Python >= 3.7, <= 3.11
* Use disperse action
* Migrate to pyproject.toml
* Set dependencies field.
* Add readthedocs configuration
* Fix pyproject.toml
* Drop obsolete travis-ci badge
* Fix readthedocs config
* Fix flake8
* Add github metadata
* Drop unused NEWS file
* Drop python 3.7 support
* Bump actions/checkout from 2 to 4
* Ruff format
* Bump actions/setup-python from 4 to 5
* Use ruff rather than flake8
* Fix disperse.conf
* Bump python to 3.13
* Migrate to disperse.toml
* Use disperse action
* Bumping python versions in GitHub workflows and pyproject.toml
* Add code of conduct
* Fix spelling errors
* Bump actions/checkout from 2 to 4
* Bump jelmer/action-disperse-validate from 1 to 2
* Bump actions/checkout from 4 to 5
* Bump actions/setup-python from 5 to 6
* Fix format
* Add typing
* Partial implementation of #12
* Add tests for original-oid support
* Extend README.md
* Include README in project description
* Automatically publish wheels
- Drop NEWS file from %doc section
-------------------------------------------------------------------
Mon Jun 9 13:57:36 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue May 27 11:29:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Apr 21 12:24:57 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fastimport
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,23 @@
#
%bcond_without libalternatives
%{?sle15_python_module_pythons}
%global skip_python2 1
Name: python-fastimport
Version: 0.9.14
Version: 0.9.16
Release: 0
Summary: Fastimport parser in Python
License: GPL-2.0-or-later
Group: Development/Libraries/Python
URL: https://github.com/jelmer/python-fastimport
Source: https://files.pythonhosted.org/packages/source/f/fastimport/fastimport-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires: alts
BuildArch: noarch
%python_subpackages
@@ -45,30 +47,25 @@ git-remote-hg use a slightly modified version of it.
%setup -q -n fastimport-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/fast-import-query
%python_clone -a %{buildroot}%{_bindir}/fast-import-info
%python_clone -a %{buildroot}%{_bindir}/fast-import-filter
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m unittest fastimport.tests.test_suite
%pyunittest fastimport.tests.test_suite
%post
%python_install_alternative fast-import-query
%python_install_alternative fast-import-info
%python_install_alternative fast-import-filter
%postun
%python_uninstall_alternative fast-import-query
%python_uninstall_alternative fast-import-info
%python_uninstall_alternative fast-import-filter
%pre
%python_libalternatives_reset_alternative fast-import-query
%python_libalternatives_reset_alternative fast-import-info
%python_libalternatives_reset_alternative fast-import-filter
%files %{python_files}
%doc NEWS README.md
%doc README.md
%license COPYING
%{python_sitelib}/fastimport*
%python_alternative %{_bindir}/fast-import-filter