From 5c37cbf9b2f9d44f5ef0ff45f3a9da9a7aca38fd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 13:05:55 +0000 Subject: import python-passlib-1.6.5-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f7f7f81 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/passlib-1.6.5.tar.gz diff --git a/.python-passlib.metadata b/.python-passlib.metadata new file mode 100644 index 0000000..e63008b --- /dev/null +++ b/.python-passlib.metadata @@ -0,0 +1 @@ +ec7a4d6270306fa61c46d63cc2467a0f8b691c4b SOURCES/passlib-1.6.5.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/python-passlib.spec b/SPECS/python-passlib.spec new file mode 100644 index 0000000..eb80215 --- /dev/null +++ b/SPECS/python-passlib.spec @@ -0,0 +1,115 @@ +%if 0%{?fedora} +%global with_python3 1 +%endif + +Name: python-passlib +Version: 1.6.5 +Release: 2%{?dist} +Summary: Comprehensive password hashing framework supporting over 20 schemes + +License: BSD and Beerware and Copyright only +URL: https://bitbucket.org/ecollins/passlib +Source0: https://pypi.python.org/packages/source/p/passlib/passlib-%{version}.tar.gz +BuildArch: noarch + +# docs generation requires python-cloud-sptheme, which isn't packaged yet. +# so we won't generate the docs yet. +#BuildRequires: python-sphinx >= 1.0 +#BuildRequires: python-cloud-sptheme + +Provides: python2-passlib = %{version}-%{release} + +BuildRequires: python2-devel +BuildRequires: python-setuptools + +%description +Passlib is a password hashing library for Python 2 & 3, which provides +cross-platform implementations of over 20 password hashing algorithms, +as well as a framework for managing existing password hashes. It's +designed to be useful for a wide range of tasks, from verifying a hash +found in /etc/shadow, to providing full-strength password hashing for +multi-user application. + +%if 0%{?with_python3} +%package -n python3-passlib +Summary: Comprehensive password hashing framework supporting over 20 schemes +%{?python_provide:%python_provide python3-passlib} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description -n python3-passlib +Passlib is a password hashing library for Python 2 & 3, which provides +cross-platform implementations of over 20 password hashing algorithms, +as well as a framework for managing existing password hashes. It's +designed to be useful for a wide range of tasks, from verifying a hash +found in /etc/shadow, to providing full-strength password hashing for +multi-user application. +%endif + +%prep +%setup -q -n passlib-%{version} + +%build +%{__python2} setup.py build + +%if 0%{?with_python3} +%{__python3} setup.py build +%endif + +%install +%{__python2} setup.py install -O1 --skip-build --root %{buildroot} + +%if 0%{?with_python3} +%{__python3} setup.py install -O1 --skip-build --root %{buildroot} +%endif + +%files +%doc README +%license LICENSE +%{python2_sitelib}/* + +%if 0%{?with_python3} +%files -n python3-passlib +%doc README +%license LICENSE +%{python3_sitelib}/* +%endif + +%changelog +* Tue May 16 2017 Pavel Cahyna 1.6.5-2 +- Rebuild for RHEL 7.4 Extras + +* Thu Nov 05 2015 Jon Schlueter 1.6.5-1.1 +- revert to python-XXX with python2-XXX provides + +* Mon Sep 07 2015 Chandan Kumar - 1.6.5-1 +- Added python2 and python3 subpackage +- updated to 1.6.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 1.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Dec 19 2014 Alan Pevec - 1.6.2-1 +- update to 1.6.2 + +* Sat Jun 07 2014 Fedora Release Engineering - 1.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 04 2013 Alan Pevec - 1.6.1-1 +- update to 1.6.1 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 1.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Oct 17 2011 Matt Domsch - 1.5.3-1 +- initial release for Fedora