forked from pool/python-PySocks
Accepting request 481794 from devel:languages:python:singlespec
singlespec + update OBS-URL: https://build.opensuse.org/request/show/481794 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySocks?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
d0f94b05b3
commit
ec0adb1de3
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a62b35b13968ba3642a973d115ae6a11be886b5f5ae0841a3ecad4b4f1d7deb1
|
|
||||||
size 9189
|
|
3
PySocks-1.6.6.tar.gz
Normal file
3
PySocks-1.6.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:02419a225ff5dcfc3c9695ef8fc9b4d8cc99658e650c6d4718d4c8f451e63f41
|
||||||
|
size 282014
|
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 21 14:00:08 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- update for singlespec
|
||||||
|
- update to 1.6.6
|
||||||
|
* python 3.6 support
|
||||||
|
* bug fixes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 11 21:15:41 UTC 2016 - toddrme2178@gmail.com
|
Fri Mar 11 21:15:41 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PySocks
|
# spec file for package python-PySocks
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -14,26 +14,30 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
Name: python-PySocks
|
Name: python-PySocks
|
||||||
Version: 1.5.6
|
Version: 1.6.6
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Summary: A Python SOCKS client module
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Summary: A Python SOCKS client module.
|
|
||||||
Url: https://github.com/Anorov/PySocks
|
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.python.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz
|
Url: https://github.com/Anorov/PySocks
|
||||||
BuildRequires: python-devel
|
Source: https://files.pythonhosted.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module devel}
|
||||||
Provides: python-SocksiPy = %{version}
|
BuildRequires: %{python_module setuptools}
|
||||||
Obsoletes: python-SocksiPy < %{version}
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%ifpython2
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
Provides: %{oldpython}-SocksiPy = %{version}
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
Obsoletes: %{oldpython}-SocksiPy < %{version}
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Python SOCKS client module.
|
A Python SOCKS client module.
|
||||||
@@ -47,12 +51,12 @@ See https://github.com/Anorov/PySocks for more information.
|
|||||||
%setup -q -n PySocks-%{version}
|
%setup -q -n PySocks-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user