forked from pool/mercurial-extension-hg-evolve
a107df479e
- Update to version 11.1.2. * compatibility with Mercurial 6.7 * evolve: use functions from topic extension to set current topic and tns topic (1.1.2) * compatibility with Mercurial 6.7 * topic: handle commitstatus() with opts=None for hg <= 6.5 too - Changelog from version 11.1.1. * compatibility with Mercurial 6.6 * evolve: fix typo in "mercurial" and let hasmemmergestate be True sometimes * uncommit: set uncommit_source extra consistently in interactive mode topic (1.1.1) * compatibility with Mercurial 6.6 * topic: properly decode topic and topic namespace after reading from disk * topic: wrap makebundlerepository() to wrap bundlerepository class (issue6856) * topic: internal config option to fix hg pick behavior (issue6406) * topic: use the appropriate functions to change topic and topic namespace on working directory update and don't write empty/default values to disk * topic namespaces: check that user-provided topic namespace names are human-readable like topics * topic namespaces: add tns_heads method to wirepeer directly instead of using a subclass * topic namespaces: remove .hg/topic-namespace file if it has the default value ("none") OBS-URL: https://build.opensuse.org/request/show/1160765 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/mercurial-extension-hg-evolve?expand=0&rev=22
68 lines
2.0 KiB
RPMSpec
68 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package mercurial-extension-hg-evolve
|
|
#
|
|
# 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
|
|
# 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: mercurial-extension-hg-evolve
|
|
Version: 11.1.2
|
|
Release: 0
|
|
Summary: Flexible evolution of Mercurial history
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Version Control
|
|
URL: https://www.mercurial-scm.org/doc/evolution/
|
|
Source0: https://files.pythonhosted.org/packages/source/h/hg-evolve/hg-evolve-%{version}.tar.gz
|
|
Source90: tests.blacklist
|
|
BuildRequires: fdupes
|
|
BuildRequires: mercurial
|
|
BuildRequires: mercurial-tests
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: python3
|
|
BuildRequires: python3-flake8
|
|
BuildRequires: python3-pyflakes
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: unzip
|
|
Requires: mercurial
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Flexible evolution of Mercurial history.
|
|
|
|
%prep
|
|
%setup -q -n hg-evolve-%{version}
|
|
|
|
%build
|
|
%python3_build
|
|
|
|
%install
|
|
%python3_install
|
|
|
|
# Delete hgext3rd/__init__.py and its cached version because it is already delivered by mercurial.
|
|
rm %{buildroot}%{python3_sitelib}/hgext3rd/__init__.py
|
|
rm %{buildroot}%{python3_sitelib}/hgext3rd/__pycache__/__init__*.pyc
|
|
|
|
%fdupes %{buildroot}%{python3_sitelib}
|
|
|
|
%check
|
|
cd tests
|
|
python3 %{_datadir}/mercurial/tests/run-tests.py --with-hg=%{_bindir}/hg --blacklist=%{SOURCE90}
|
|
|
|
%files
|
|
%doc CHANGELOG README.rst
|
|
%license COPYING
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|