forked from pool/python-pyperclip
Accepting request 477345 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/477345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
445f17cdfe
commit
43547640e7
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:50f251f0869661d000bdfab8359a9da62d3cc83389ba43e008f227ec938fd719
|
|
||||||
size 13578
|
|
3
pyperclip-1.5.27.zip
Normal file
3
pyperclip-1.5.27.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a3cb6df5d8f1557ca8fc514d94fabf50dc5a97042c90e5ba4f3611864fed3fc5
|
||||||
|
size 16938
|
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 6 19:28:45 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 1.5.27
|
||||||
|
* Disable broken cygwin implementation until issue 55 can be
|
||||||
|
fixed
|
||||||
|
* Fix #51, Replace wcscpy_s with memmove for Windows XP.
|
||||||
|
* Fix #53, PEP8 changes, STRING_FUNCTION rename
|
||||||
|
|
||||||
|
- Converted to single-spec
|
||||||
|
|
||||||
|
- Updated source URL, license and homepage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 3 21:36:53 UTC 2016 - freitag@opensuse.org
|
Sun Jan 3 21:36:53 UTC 2016 - freitag@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyperclip
|
# spec file for package python-pyperclip
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,24 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pyperclip
|
Name: python-pyperclip
|
||||||
Version: 1.5.24
|
Version: 1.5.27
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A cross-platform clipboard module for Python.
|
Summary: A cross-platform clipboard module for Python
|
||||||
License: BSD-2-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://pypi.python.org/pypi/pyperclip
|
Url: https://github.com/asweigart/pyperclip
|
||||||
Source: pyperclip-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/p/pyperclip/pyperclip-%{version}.zip
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: unzip
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A cross-platform clipboard module for Python. (only handles plain text for now)
|
A cross-platform clipboard module for Python. (only handles plain text for now)
|
||||||
@@ -42,20 +41,15 @@ A cross-platform clipboard module for Python. (only handles plain text for now)
|
|||||||
%setup -q -n pyperclip-%{version}
|
%setup -q -n pyperclip-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root %{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# cleanup
|
%files %{python_files}
|
||||||
rm -rf %{buildroot}%{python_sitelib}/test
|
|
||||||
rm -rf %{buildroot}%{python_sitelib}/pyperclip/__pycache__
|
|
||||||
|
|
||||||
%fdupes %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/pyperclip
|
%{python_sitelib}/pyperclip
|
||||||
%{python_sitelib}/pyperclip-%{version}*egg*
|
%{python_sitelib}/pyperclip-%{version}-py%{py_ver}.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user