forked from pool/python-PySocks
Accepting request 481795 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/481795 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PySocks?expand=0&rev=2
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -14,26 +14,30 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-PySocks
|
||||
Version: 1.5.6
|
||||
Version: 1.6.6
|
||||
Release: 0
|
||||
Summary: A Python SOCKS client module
|
||||
License: BSD-3-Clause
|
||||
Summary: A Python SOCKS client module.
|
||||
Url: https://github.com/Anorov/PySocks
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.python.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Provides: python-SocksiPy = %{version}
|
||||
Obsoletes: python-SocksiPy < %{version}
|
||||
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
|
||||
Url: https://github.com/Anorov/PySocks
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-SocksiPy = %{version}
|
||||
Obsoletes: %{oldpython}-SocksiPy < %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A Python SOCKS client module.
|
||||
@@ -47,12 +51,12 @@ See https://github.com/Anorov/PySocks for more information.
|
||||
%setup -q -n PySocks-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Reference in New Issue
Block a user