commit 1ca984e8b3da4fe291ff2d93c4e0b5829cc57adffeb0f5edf32a6db10b12d042 Author: Dirk Mueller Date: Wed Oct 5 11:56:23 2016 +0000 Accepting request 432642 from home:mnhauke initial package for python-bcrypt OBS-URL: https://build.opensuse.org/request/show/432642 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bcrypt?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/bcrypt-3.1.1.tar.gz b/bcrypt-3.1.1.tar.gz new file mode 100644 index 0000000..fca5b98 --- /dev/null +++ b/bcrypt-3.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0309a4a72bd1dc314279cf1ee14e277227732f14c9b63ab96715654e13fe9321 +size 40103 diff --git a/python-bcrypt.changes b/python-bcrypt.changes new file mode 100644 index 0000000..6dd21de --- /dev/null +++ b/python-bcrypt.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 29 20:53:41 UTC 2016 - mardnh@gmx.de + +- Update to version 3.1.1 + * Resolved a UserWarning when used with cffi 1.8.3. + +------------------------------------------------------------------- +Thu Sep 15 15:18:25 UTC 2016 - mardnh@gmx.de + +- build with "-fno-strict-aliasing" + +------------------------------------------------------------------- +Sun Sep 11 13:34:58 UTC 2016 - mardnh@gmx.de + +- initial package, version 3.1.0 + diff --git a/python-bcrypt.spec b/python-bcrypt.spec new file mode 100644 index 0000000..cc67a5c --- /dev/null +++ b/python-bcrypt.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-bcrypt +# +# Copyright (c) 2016, Martin Hauke +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-bcrypt +Version: 3.1.1 +Release: 0 +Summary: Modern password hashing for your software and your servers +License: APL-1.0 +Group: Development/Languages/Python +Url: https://github.com/pyca/bcrypt/ +Source: https://pypi.io/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: pkgconfig(libffi) +BuildRequires: python-cffi +BuildRequires: python-devel +BuildRequires: python-pytest +BuildRequires: python-setuptools +BuildRequires: python-six +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Modern password hashing for your software and your servers. + +%prep +%setup -q -n bcrypt-%{version} + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes -s %{buildroot}/%{python_sitearch} + +%check +python setup.py test + +%files +%defattr(-,root,root,-) +%doc LICENSE README.rst +%{python_sitearch}/bcrypt +%{python_sitearch}/bcrypt-%{version}-py%{py_ver}.egg-info + +%changelog