commit 90a74ad3959cf72a8db7898732feebae0d1688741f2a50342d94f2393be4ea43 Author: Tomáš Chvátal Date: Tue Aug 28 11:52:12 2018 +0000 - Initial package, split from certbot blob OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:certbot/python-certbot?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/certbot-0.26.1.tar.gz b/certbot-0.26.1.tar.gz new file mode 100644 index 0000000..565eefd --- /dev/null +++ b/certbot-0.26.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4983513d63f7f36e24a07873ca2d6ea1c0101aa6cb1cd825cda02ed520f6ca66 +size 311419 diff --git a/python-certbot.changes b/python-certbot.changes new file mode 100644 index 0000000..3177eba --- /dev/null +++ b/python-certbot.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Aug 28 11:32:26 UTC 2018 - tchvatal@suse.com + +- Initial package, split from certbot blob diff --git a/python-certbot.spec b/python-certbot.spec new file mode 100644 index 0000000..d1fc0fe --- /dev/null +++ b/python-certbot.spec @@ -0,0 +1,95 @@ +# +# spec file for package python-certbot +# +# Copyright (c) 2018 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 https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-certbot +Version: 0.26.1 +Release: 0 +Summary: ACME client +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/letsencrypt/letsencrypt +Source: https://files.pythonhosted.org/packages/source/c/certbot/certbot-%{version}.tar.gz +BuildRequires: %{python_module acme >= 0.25.0} +BuildRequires: %{python_module configargparse >= 0.9.3} +BuildRequires: %{python_module configobj} +BuildRequires: %{python_module cryptography >= 1.2} +BuildRequires: %{python_module future} +BuildRequires: %{python_module josepy} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module parsedatetime >= 1.3} +BuildRequires: %{python_module pyRFC3339} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module zope.component} +BuildRequires: %{python_module zope.interface} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python2-typing +Requires: python-acme >= 0.25.0 +Requires: python-configargparse >= 0.9.3 +Requires: python-configobj +Requires: python-cryptography >= 1.2 +Requires: python-future +Requires: python-josepy +Requires: python-parsedatetime >= 1.3 +Requires: python-pyRFC3339 +Requires: python-pytz +Requires: python-setuptools +Requires: python-zope.component +Requires: python-zope.interface +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%ifpython2 +Requires: python-typing +%endif +%python_subpackages + +%description +certbot is a free, automated certificate authority that aims +to lower the barriers to entry for encrypting all HTTP traffic on the internet. + +%prep +%setup -q -n certbot-%{version} + +%build +%python_build + +%install +%python_install +%python_clone -a %{buildroot}%{_bindir}/certbot +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%post +%python_install_alternative certbot + +%postun +%python_uninstall_alternative certbot + +%files %{python_files} +%license LICENSE.txt +%doc README.rst +%{python_sitelib}/* +%python_alternative %{_bindir}/certbot + +%changelog