forked from pool/python-rst.linker
Accepting request 508191 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/508191 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rst.linker?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 4 09:35:47 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 1.9
|
||||||
|
* Replacer now adds the Sphinx config namespace to the
|
||||||
|
replacements, meaning that names like ``project``
|
||||||
|
or ``copyright`` may be referenced in the format
|
||||||
|
strings. This feature is particularly useful when
|
||||||
|
coupled with the `jaraco.packaging
|
||||||
|
<https://pypi.org/project/jaraco.packaging>`.sphinx
|
||||||
|
plugin, which supplies a ``package_url``.
|
||||||
|
1.8.2:
|
||||||
|
* Added project description and updated changelog.
|
||||||
|
1.8.1:
|
||||||
|
* Issue #4: Prefer public API of ``app.confdir`` to private
|
||||||
|
API.
|
||||||
|
1.8:
|
||||||
|
* Issue #4: Resolve deterministically the filenames relative to
|
||||||
|
the config file.
|
||||||
|
* *semver deviation*: This change is backward-incompatible
|
||||||
|
for projects that relied on paths relative to the cwd where
|
||||||
|
the cwd was not the directory of the config file.
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 30 18:24:12 UTC 2016 - sor.alexei@meowr.ru
|
Sat Jul 30 18:24:12 UTC 2016 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rst.linker
|
# spec file for package python-rst.linker
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -17,26 +17,30 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _name rst.linker
|
%define _name rst.linker
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-rst.linker
|
Name: python-rst.linker
|
||||||
Version: 1.7
|
Version: 1.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Changelog link and timestamp adding Sphinx plugin
|
Summary: Changelog link and timestamp adding Sphinx plugin
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/jaraco/rst.linker
|
Url: https://github.com/jaraco/rst.linker
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/%{_name}/%{_name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/%{_name}/%{_name}-%{version}.tar.gz
|
||||||
BuildRequires: python
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: %{python_module base}
|
||||||
BuildRequires: python-dateutil
|
BuildRequires: %{python_module path.py}
|
||||||
BuildRequires: python-path.py
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: python-pytest
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: python-pytest-runner
|
BuildRequires: %{python_module python-dateutil}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: python-setuptools_scm
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-six
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-dateutil
|
Requires: python-dateutil
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
rst.linker is a Sphinx plugin to add links and timestamps to the
|
rst.linker is a Sphinx plugin to add links and timestamps to the
|
||||||
@@ -44,23 +48,23 @@ changelog.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
|
rm -rf rst.linker.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python2 setup.py build
|
%python_build
|
||||||
python2 setup.py build_sphinx
|
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python2 setup.py install \
|
%python_install
|
||||||
--root=%{buildroot} --prefix=%{_prefix}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python2 setup.py test
|
%python_exec %{_bindir}/py.test -v test_all.py
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%dir %{python_sitelib}/rst/
|
%doc build/sphinx/html
|
||||||
%{python_sitelib}/rst/linker.py*
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/%{_name}-*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:59038b0dce170f7d6459132a1b7358b01f71f372afbf5b1c07d0862ba4a5042e
|
|
||||||
size 6798
|
|
3
rst.linker-1.9.tar.gz
Normal file
3
rst.linker-1.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4de05e547d14ac16599d6379a73d394b8eba03afb1f16b6bdb400013957d9999
|
||||||
|
size 7618
|
Reference in New Issue
Block a user