summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2017-02-24 20:08:25 +0100
committerSebastian Pipping <sping@gentoo.org>2017-02-24 20:09:04 +0100
commited02d0a88cd110d63c6b4d8f3c0a675ad216d151 (patch)
tree0c6ffecc1048d305647fe7a6155fb5b8d5134bd6 /app-crypt
parentapp-misc/vtclock: 0.0.20161228 (diff)
downloadbetagarden-ed02d0a88cd110d63c6b4d8f3c0a675ad216d151.tar.gz
betagarden-ed02d0a88cd110d63c6b4d8f3c0a675ad216d151.tar.bz2
betagarden-ed02d0a88cd110d63c6b4d8f3c0a675ad216d151.zip
app-crypt/wile: 0.3.1
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/wile/Manifest1
-rw-r--r--app-crypt/wile/files/wile-0.3.1-setup.patch46
-rw-r--r--app-crypt/wile/metadata.xml7
-rw-r--r--app-crypt/wile/wile-0.3.1.ebuild32
4 files changed, 86 insertions, 0 deletions
diff --git a/app-crypt/wile/Manifest b/app-crypt/wile/Manifest
new file mode 100644
index 0000000..0ef2043
--- /dev/null
+++ b/app-crypt/wile/Manifest
@@ -0,0 +1 @@
+DIST wile-0.3.1.tar.gz 19822 SHA256 1c273f5365189cb304b483ca7b9c2fa07b6f7981c966e4c1d38a599e7279466a SHA512 02e85bba3d91a6292bcf10eb23aefe7f4e5600914063b9fc9166734f76a47a209b19a4deed25c97a9795e54e6100bb0031dc36420cbb5f6bdc43c82fec6a0f57 WHIRLPOOL 0f109aa15b252eb8cdc95bab35d0d39131762f5c23937e2246abf5dbe052121b63563ddfcbe526319e85805c4b37fa70179ab1bc7e020b004149307919f8b9ed
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 )