14
0

Accepting request 1141358 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1141358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-screenplain?expand=0&rev=7
This commit is contained in:
2024-01-25 17:41:21 +00:00
committed by Git OBS Bridge
7 changed files with 28 additions and 40 deletions

View File

@@ -1,17 +1,15 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="manual">
<param name="versionprefix">0.9.0+git</param> <param name="versionprefix">0.11.1+git</param>
<!-- param name="url">https://github.com/vilcans/screenplain.git</param--> <param name="url">https://github.com/vilcans/screenplain.git</param>
<param name="url">https://git.sr.ht/~mcepl/screenplain</param>
<param name="revision">cleanup-testing</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git*</param> <param name="exclude">.git*</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param> <param name="changesauthor">mcepl@cepl.eu</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="manual">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">gz</param> <param name="compression">gz</param>
</service> </service>
<service name="set_version" mode="disabled" /> <service name="set_version" mode="manual" />
</services> </services>

View File

@@ -5,4 +5,6 @@
<param name="url">https://git.sr.ht/~mcepl/screenplay</param> <param name="url">https://git.sr.ht/~mcepl/screenplay</param>
<param name="changesrevision">302bfdd3362f4287a471cff80908e018bc09f990</param></service><service name="tar_scm"> <param name="changesrevision">302bfdd3362f4287a471cff80908e018bc09f990</param></service><service name="tar_scm">
<param name="url">https://git.sr.ht/~mcepl/screenplain</param> <param name="url">https://git.sr.ht/~mcepl/screenplain</param>
<param name="changesrevision">353e6c94e996055880c07a3846cb51b98e19dfa2</param></service></servicedata> <param name="changesrevision">353e6c94e996055880c07a3846cb51b98e19dfa2</param></service><service name="tar_scm">
<param name="url">https://github.com/vilcans/screenplain.git</param>
<param name="changesrevision">13b79f2dd0bf8f584965269137893dea50378b39</param></service></servicedata>

View File

@@ -1,7 +1,6 @@
--- ---
screenplain/main.py | 2 +- screenplain/main.py | 2 +-
setup.cfg | 3 +++ 1 file changed, 1 insertion(+), 1 deletion(-)
2 files changed, 4 insertions(+), 1 deletion(-)
--- a/screenplain/main.py --- a/screenplain/main.py
+++ b/screenplain/main.py +++ b/screenplain/main.py
@@ -14,15 +13,3 @@
parser = OptionParser(usage=usage) parser = OptionParser(usage=usage)
parser.add_option( parser.add_option(
'-f', '--format', dest='output_format', '-f', '--format', dest='output_format',
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,9 @@
[metadata]
license_files = LICENSE.txt
+[pycodestyle]
+ignore = E275,E402,W504
+
[egg_info]
tag_build =
tag_date = 0

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 17 21:39:48 UTC 2024 - mcepl@cepl.eu
- Update to version 0.11.1+git.1701424578.13b79f2:
* Typo caused reading from stdin to fail
* Add arguments --encoding and --encoding-errors
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 29 14:51:09 UTC 2023 - Matej Cepl <mcepl@cepl.eu> Wed Nov 29 14:51:09 UTC 2023 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-screenplain # spec file for package python-screenplain
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# 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
@@ -16,21 +16,16 @@
# #
%if 0%{?suse_version} > 1500
%bcond_with python2
%else
%bcond_without python2
%endif
Name: python-screenplain Name: python-screenplain
Version: 0.10.0 Version: 0.11.1+git.1701424578.13b79f2
Release: 0 Release: 0
Summary: Convert text file to viewable screenplay Summary: Convert text file to viewable screenplay
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://www.screenplain.com/ URL: https://www.screenplain.com/
Source: https://files.pythonhosted.org/packages/source/s/screenplain/screenplain-%{version}.tar.gz # Source: https://files.pythonhosted.org/packages/source/s/screenplain/screenplain-%%{version}.tar.gz
# Tarball generated from gh#vilcans/screenplain#62 # Tarball generated from gh#vilcans/screenplain#62
# Source: screenplain-%%{version}.tar.gz Source: screenplain-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix_entry_point.patch mcepl@suse.com # PATCH-FIX-UPSTREAM fix_entry_point.patch mcepl@suse.com
# entry point lead to incorrect function. # entry point lead to incorrect function.
Patch0: fix_entry_point.patch Patch0: fix_entry_point.patch
@@ -40,11 +35,10 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-reportlab Requires: python-reportlab
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -69,10 +63,10 @@ be supported in a not too distant future.
sed -i '1{/^#!.*env python/d}' screenplain/main.py sed -i '1{/^#!.*env python/d}' screenplain/main.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/screenplain %python_clone -a %{buildroot}%{_bindir}/screenplain
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -89,6 +83,6 @@ sed -i '1{/^#!.*env python/d}' screenplain/main.py
%files %{python_files} %files %{python_files}
%python_alternative %{_bindir}/screenplain %python_alternative %{_bindir}/screenplain
%{python_sitelib}/screenplain %{python_sitelib}/screenplain
%{python_sitelib}/screenplain-%{version}*-info %{python_sitelib}/screenplain-0.11.1*-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32c64d82380d160901c7a4e4d9a58ae14233b2a2007a5c1b57e1578048b9b991
size 17752

View File

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