public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: app-crypt/wile/, app-crypt/wile/files/
@ 2018-02-26 21:01 Sebastian Pipping
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2018-02-26 21:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c2f9d35351adc0d54d70b664a7136b0a03427d3f
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 20:57:25 2018 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 20:57:25 2018 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=c2f9d353

app-crypt/wile: 1.0.1, remove old

 app-crypt/wile/files/wile-0.3.1-setup.patch        | 46 -------------
 app-crypt/wile/files/wile-1.0.0-fix-webroot.patch  | 39 -----------
 app-crypt/wile/files/wile-1.0.0-josepy.patch       | 80 ----------------------
 app-crypt/wile/wile-0.3.1.ebuild                   | 31 ---------
 app-crypt/wile/wile-0.3.2.ebuild                   | 29 --------
 .../{wile-1.0.0-r1.ebuild => wile-1.0.1.ebuild}    |  4 --
 6 files changed, 229 deletions(-)

diff --git a/app-crypt/wile/files/wile-0.3.1-setup.patch b/app-crypt/wile/files/wile-0.3.1-setup.patch
deleted file mode 100644
index 76072b4..0000000
--- a/app-crypt/wile/files/wile-0.3.1-setup.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 120fbe77e695c39744e4e620e24aa57585f5ee57 Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Fri, 24 Feb 2017 19:56:34 +0100
-Subject: [PATCH] Fix "./setup.py build" for when there is no .git around
-
----
- setup.py | 13 ++++++++++---
- 1 file changed, 10 insertions(+), 3 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 3ed03c2..cfce972 100755
---- a/setup.py
-+++ b/setup.py
-@@ -1,15 +1,14 @@
- #!/usr/bin/python
- import os
-+import sys
- from setuptools import setup
- 
- 
- def read(filename):
-     return open(os.path.join(os.path.dirname(__file__), filename)).read()
- 
--setup(
-+config = dict(
-     name="wile",
--    use_scm_version=True,
--    setup_requires=['setuptools_scm'],
-     author="Leo Antunes",
-     author_email="leo@costela.net",
-     description=("A stripped down Let's Encrypt (ACME) client"),
-@@ -42,3 +41,11 @@ setup(
-         'Topic :: Utilities',
-     ],
- )
-+
-+if 'sdist' in sys.argv:
-+    config.update(dict(
-+        use_scm_version=True,
-+        setup_requires=['setuptools_scm'],
-+    ))
-+
-+setup(**config)
--- 
-2.11.1
-

diff --git a/app-crypt/wile/files/wile-1.0.0-fix-webroot.patch b/app-crypt/wile/files/wile-1.0.0-fix-webroot.patch
deleted file mode 100644
index 39c9d30..0000000
--- a/app-crypt/wile/files/wile-1.0.0-fix-webroot.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From f6d355f14363ed3ce6bf44d4d9ab3140bc0ec247 Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Mon, 19 Feb 2018 20:21:24 +0100
-Subject: [PATCH] Fix storing of webroot validation for local folders (issue
- #32)
-
-Function os.open was used with the signature of __builtin__.open.
-So string mode "wb" ended up as the flags parameter to os.open,
-resulting in "TypeError: an integer is required".
----
- wile/cert.py | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/wile/cert.py b/wile/cert.py
-index c9fc33b..f8b85aa 100644
---- a/wile/cert.py
-+++ b/wile/cert.py
-@@ -262,6 +262,7 @@ def _store_webroot_validation(ctx, webroot, ssh_private_key, challb, val):
-                 raise
- 
-         chall_mod = os
-+        chall_open = open
-     else:
-         sftp = sftp_helper.cachedSFTPfactory(user=webroot.remote_user, host=webroot.remote_host,
-                                              port=webroot.remote_port, private_key=ssh_private_key)
-@@ -269,8 +270,9 @@ def _store_webroot_validation(ctx, webroot, ssh_private_key, challb, val):
-         sftp.makedirs(os.path.join(webroot.path, challb.URI_ROOT_PATH))
- 
-         chall_mod = sftp
-+        chall_open = chall_mod.open
- 
--    with chall_mod.open(chall_path, 'wb') as outf:
-+    with chall_open(chall_path, 'wb') as outf:
-         logger.info('storing validation to %s', os.path.basename(chall_path))
-         outf.write(b(val))
-         # TODO: this may cause a race-condition with paramiko teardown code.
--- 
-2.16.1
-

diff --git a/app-crypt/wile/files/wile-1.0.0-josepy.patch b/app-crypt/wile/files/wile-1.0.0-josepy.patch
deleted file mode 100644
index 04382c8..0000000
--- a/app-crypt/wile/files/wile-1.0.0-josepy.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From 4a7df693b83dbf8d1d3c5245ad9725e98d24b027 Mon Sep 17 00:00:00 2001
-From: Luka Matijevic <lumatijev@gmail.com>
-Date: Tue, 13 Feb 2018 13:50:55 +0100
-Subject: [PATCH 1/2] Fix JOSE dependency
-
-Starting with ACME version 0.21.0 implementation for JOSE was split out
-of ACME library into a separate package named josepy.
-
-Added josepy as a dependency to setup.py and fixed code according to
-this changes.
-
-https://pypi.python.org/pypi/josepy
-https://github.com/certbot/josepy
----
- setup.py         | 1 +
- wile/__init__.py | 2 +-
- wile/cert.py     | 2 +-
- 3 files changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 7a8dc8d..5ed1f03 100755
---- a/setup.py
-+++ b/setup.py
-@@ -28,6 +28,7 @@ def read(filename):
-         'cryptography',
-         'setuptools_scm',  # for run-time version-detect
-         'paramiko',
-+        'josepy',
-     ],
-     tests_require=[
-         'backports.tempfile;python_version<"3.0"',
-diff --git a/wile/__init__.py b/wile/__init__.py
-index 944b320..1445d10 100644
---- a/wile/__init__.py
-+++ b/wile/__init__.py
-@@ -4,7 +4,7 @@
- 
- import setuptools_scm
- import click
--from acme import jose
-+import josepy as jose
- from cryptography.hazmat.primitives import serialization
- from cryptography.hazmat.backends import default_backend
- from cryptography.hazmat.primitives.asymmetric import rsa
-diff --git a/wile/cert.py b/wile/cert.py
-index 4aba7c1..c9fc33b 100644
---- a/wile/cert.py
-+++ b/wile/cert.py
-@@ -13,7 +13,7 @@
- from acme import challenges
- from acme import messages
- from acme import errors
--from acme.jose.util import ComparableX509
-+from josepy.util import ComparableX509
- 
- from . import reg
- from . import argtypes
-
-From 62e18a5ef30cd1d88dc90ac5df99f9d66bea5eb1 Mon Sep 17 00:00:00 2001
-From: Luka Matijevic <lumatijev@gmail.com>
-Date: Wed, 14 Feb 2018 14:25:56 +0100
-Subject: [PATCH 2/2] Increased minimal acme version.
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 5ed1f03..3ad2397 100755
---- a/setup.py
-+++ b/setup.py
-@@ -22,7 +22,7 @@ def read(filename):
-     ],
-     install_requires=[
-         'six',
--        'acme >= 0.16.0',
-+        'acme >= 0.21.0',
-         'click >= 6.0',
-         'pyOpenSSL',
-         'cryptography',

diff --git a/app-crypt/wile/wile-0.3.1.ebuild b/app-crypt/wile/wile-0.3.1.ebuild
deleted file mode 100644
index e70d9a3..0000000
--- a/app-crypt/wile/wile-0.3.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit distutils-r1
-
-DESCRIPTION="Stripped down letsencrypt (ACME) client"
-HOMEPAGE="https://github.com/costela/wile"
-SRC_URI="https://github.com/costela/wile/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
-	dev-python/six[${PYTHON_USEDEP}]
-	dev-python/click[${PYTHON_USEDEP}]
-	dev-python/pyopenssl[${PYTHON_USEDEP}]
-	dev-python/cryptography[${PYTHON_USEDEP}]
-	"
-RDEPEND="${DEPEND}
-	>=app-crypt/acme-0.6[${PYTHON_USEDEP}]
-	dev-python/setuptools_scm[${PYTHON_USEDEP}]
-	"
-
-DOCS=( README.md )
-
-PATCHES=( "${FILESDIR}"/${P}-setup.patch )

diff --git a/app-crypt/wile/wile-0.3.2.ebuild b/app-crypt/wile/wile-0.3.2.ebuild
deleted file mode 100644
index ac538f6..0000000
--- a/app-crypt/wile/wile-0.3.2.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit distutils-r1
-
-DESCRIPTION="Stripped down letsencrypt (ACME) client"
-HOMEPAGE="https://github.com/costela/wile"
-SRC_URI="https://github.com/costela/wile/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
-	dev-python/six[${PYTHON_USEDEP}]
-	dev-python/click[${PYTHON_USEDEP}]
-	dev-python/pyopenssl[${PYTHON_USEDEP}]
-	dev-python/cryptography[${PYTHON_USEDEP}]
-	"
-RDEPEND="${DEPEND}
-	>=app-crypt/acme-0.6[${PYTHON_USEDEP}]
-	dev-python/setuptools_scm[${PYTHON_USEDEP}]
-	"
-
-DOCS=( README.md )

diff --git a/app-crypt/wile/wile-1.0.0-r1.ebuild b/app-crypt/wile/wile-1.0.1.ebuild
similarity index 90%
rename from app-crypt/wile/wile-1.0.0-r1.ebuild
rename to app-crypt/wile/wile-1.0.1.ebuild
index aabfe2c..f0c0752 100644
--- a/app-crypt/wile/wile-1.0.0-r1.ebuild
+++ b/app-crypt/wile/wile-1.0.1.ebuild
@@ -30,7 +30,3 @@ RDEPEND="
 
 DOCS=( README.md )
 
-PATCHES=(
-	"${FILESDIR}"/${P}-josepy.patch
-	"${FILESDIR}"/${P}-fix-webroot.patch
-)


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] proj/betagarden:master commit in: app-crypt/wile/, app-crypt/wile/files/
@ 2017-02-24 19:10 Sebastian Pipping
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2017-02-24 19:10 UTC (permalink / raw
  To: gentoo-commits

commit:     ed02d0a88cd110d63c6b4d8f3c0a675ad216d151
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 19:08:25 2017 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 19:09:04 2017 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=ed02d0a8

app-crypt/wile: 0.3.1

 app-crypt/wile/files/wile-0.3.1-setup.patch | 46 +++++++++++++++++++++++++++++
 app-crypt/wile/metadata.xml                 |  7 +++++
 app-crypt/wile/wile-0.3.1.ebuild            | 32 ++++++++++++++++++++
 3 files changed, 85 insertions(+)

diff --git a/app-crypt/wile/files/wile-0.3.1-setup.patch b/app-crypt/wile/files/wile-0.3.1-setup.patch
new file mode 100644
index 0000000..76072b4
--- /dev/null
+++ b/app-crypt/wile/files/wile-0.3.1-setup.patch
@@ -0,0 +1,46 @@
+From 120fbe77e695c39744e4e620e24aa57585f5ee57 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Fri, 24 Feb 2017 19:56:34 +0100
+Subject: [PATCH] Fix "./setup.py build" for when there is no .git around
+
+---
+ setup.py | 13 ++++++++++---
+ 1 file changed, 10 insertions(+), 3 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 3ed03c2..cfce972 100755
+--- a/setup.py
++++ b/setup.py
+@@ -1,15 +1,14 @@
+ #!/usr/bin/python
+ import os
++import sys
+ from setuptools import setup
+ 
+ 
+ def read(filename):
+     return open(os.path.join(os.path.dirname(__file__), filename)).read()
+ 
+-setup(
++config = dict(
+     name="wile",
+-    use_scm_version=True,
+-    setup_requires=['setuptools_scm'],
+     author="Leo Antunes",
+     author_email="leo@costela.net",
+     description=("A stripped down Let's Encrypt (ACME) client"),
+@@ -42,3 +41,11 @@ setup(
+         'Topic :: Utilities',
+     ],
+ )
++
++if 'sdist' in sys.argv:
++    config.update(dict(
++        use_scm_version=True,
++        setup_requires=['setuptools_scm'],
++    ))
++
++setup(**config)
+-- 
+2.11.1
+

diff --git a/app-crypt/wile/metadata.xml b/app-crypt/wile/metadata.xml
new file mode 100644
index 0000000..82b7b79
--- /dev/null
+++ b/app-crypt/wile/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>sping@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>

diff --git a/app-crypt/wile/wile-0.3.1.ebuild b/app-crypt/wile/wile-0.3.1.ebuild
new file mode 100644
index 0000000..31c9514
--- /dev/null
+++ b/app-crypt/wile/wile-0.3.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Stripped down letsencrypt (ACME) client"
+HOMEPAGE="https://github.com/costela/wile"
+SRC_URI="https://github.com/costela/wile/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	dev-python/six[${PYTHON_USEDEP}]
+	dev-python/click[${PYTHON_USEDEP}]
+	dev-python/pyopenssl[${PYTHON_USEDEP}]
+	dev-python/cryptography[${PYTHON_USEDEP}]
+	"
+RDEPEND="${DEPEND}
+	>=app-crypt/acme-0.6[${PYTHON_USEDEP}]
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]
+	"
+
+DOCS=( README.md )
+
+PATCHES=( "${FILESDIR}"/${P}-setup.patch )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-26 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-26 21:01 [gentoo-commits] proj/betagarden:master commit in: app-crypt/wile/, app-crypt/wile/files/ Sebastian Pipping
  -- strict thread matches above, loose matches on Subject: below --
2017-02-24 19:10 Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox