commit fc53b712dcbcb1060b621cb06781a442ce3b5b5dd58fc6db06de4d165c524a5e Author: Tomáš Chvátal Date: Thu Apr 18 07:52:52 2019 +0000 Accepting request 695401 from home:jayvdb:django - Initial spec for v4.1.3 OBS-URL: https://build.opensuse.org/request/show/695401 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-djangorestframework-simplejwt?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/djangorestframework_simplejwt-4.1.3.tar.gz b/djangorestframework_simplejwt-4.1.3.tar.gz new file mode 100644 index 0000000..c8539cc --- /dev/null +++ b/djangorestframework_simplejwt-4.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8c9e7b2099745c7778fdeae8f5fbbf08417e2376facab62201b303e6895b09b +size 36916 diff --git a/python-djangorestframework-simplejwt.changes b/python-djangorestframework-simplejwt.changes new file mode 100644 index 0000000..8f2b754 --- /dev/null +++ b/python-djangorestframework-simplejwt.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Apr 9 02:39:36 PM UTC 2019 - John Vandenberg + +- Initial spec for v4.1.3 diff --git a/python-djangorestframework-simplejwt.spec b/python-djangorestframework-simplejwt.spec new file mode 100644 index 0000000..d57f832 --- /dev/null +++ b/python-djangorestframework-simplejwt.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-djangorestframework-simplejwt +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-djangorestframework-simplejwt +Version: 4.1.3 +Release: 0 +License: MIT +Summary: JSON Web Token authentication for Django REST Framework +Url: https://github.com/davesque/django-rest-framework-simplejwt +Group: Development/Languages/Python +Source: https://github.com/davesque/django-rest-framework-simplejwt/archive/v4.1.3.tar.gz#/djangorestframework_simplejwt-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module PyJWT} +BuildRequires: %{python_module djangorestframework} +BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module python-jose} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +Requires: python-PyJWT +Requires: python-djangorestframework +Recommends: python-python-jose +BuildArch: noarch + +%python_subpackages + +%description +A minimal JSON Web Token authentication plugin for the Django REST Framework. + +%prep +%setup -q -n django-rest-framework-simplejwt-%{version} + +%build +export LANG=en_US.UTF-8 +%python_build + +%install +export LANG=en_US.UTF-8 +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export LANG=en_US.UTF-8 +%python_exec -m pytest + +%files %{python_files} +%license LICENSE.txt licenses/* +%doc README.rst CHANGELOG.md +%{python_sitelib}/* + +%changelog