commit: c37dff06cc5632de78ff283857f211c0361d5582
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 09:15:25 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 09:15:43 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c37dff06
app-crypt/{acme,letsencrypt}: add ebuilds for latest snapshot
app-crypt/acme/Manifest | 1 +
...e-9999.ebuild => acme-0.0.0_pre20151123.ebuild} | 27 ++++++++++++++------
app-crypt/acme/acme-9999.ebuild | 29 ++++++++++++++++------
app-crypt/letsencrypt/Manifest | 1 +
...ebuild => letsencrypt-0.0.0_pre20151123.ebuild} | 27 ++++++++++++++------
app-crypt/letsencrypt/letsencrypt-9999.ebuild | 29 ++++++++++++++++------
6 files changed, 83 insertions(+), 31 deletions(-)
diff --git a/app-crypt/acme/Manifest b/app-crypt/acme/Manifest
new file mode 100644
index 0000000..78c4d51
--- /dev/null
+++ b/app-crypt/acme/Manifest
@@ -0,0 +1 @@
+DIST letsencrypt-0.0.0.dev20151123.tar.gz 403690 SHA256
3f909ef521ab91eade4fa83f1f72c4b1cb74c9192144bc072d999248eb25e902 SHA512
e62cd4bf966b75e159949d84eda1005649dd4f11efbb1515601a5c6690e09ea1cc73bb3f535b6b20655752b7218fa3f02cf50e4cb12a335d76b10461e385aa96
WHIRLPOOL
5352083e3eabe69ea07b830fcdd3d9de2f431d5b8681c3484288feb2f6394d1c4dd9d46feffe08f7733015755e39df24e61293915877b97470339a3fa11c668c
diff --git a/app-crypt/acme/acme-9999.ebuild
b/app-crypt/acme/acme-0.0.0_pre20151123.ebuild
similarity index 59%
copy from app-crypt/acme/acme-9999.ebuild
copy to app-crypt/acme/acme-0.0.0_pre20151123.ebuild
index 1f93640..cdd87cd 100644
--- a/app-crypt/acme/acme-9999.ebuild
+++ b/app-crypt/acme/acme-0.0.0_pre20151123.ebuild
@@ -3,18 +3,28 @@
# $Id$
EAPI=5
-PYTHON_COMPAT=(python{2_7,3_4,3_5})
-EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit git-r3 distutils-r1
+inherit distutils-r1
+
+MY_PN="letsencrypt"
+MY_PV="${PV/_pre/.dev}"
+MY_P="${MY_PN}-${MY_PV}"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+ inherit git-r3 distutils-r1
+else
+
SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz ->
${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
DESCRIPTION="An implementation of the ACME protocol"
HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
@@ -27,10 +37,13 @@ RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]"
-DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
- dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
-S=${WORKDIR}/${P}/${PN}
+S="${WORKDIR}/${MY_P}/${PN}"
python_test() {
nosetests -w ${PN} || die
diff --git a/app-crypt/acme/acme-9999.ebuild b/app-crypt/acme/acme-9999.ebuild
index 1f93640..050f571 100644
--- a/app-crypt/acme/acme-9999.ebuild
+++ b/app-crypt/acme/acme-9999.ebuild
@@ -3,18 +3,28 @@
# $Id$
EAPI=5
-PYTHON_COMPAT=(python{2_7,3_4,3_5})
-EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit git-r3 distutils-r1
+inherit distutils-r1
-DESCRIPTION="An implementation of the ACME protocol"
+MY_PN="letsencrypt"
+MY_PV="${PV/_pre/.dev}"
+MY_P="${MY_PN}-${MY_PV}"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+ inherit git-r3 distutils-r1
+else
+
SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz ->
${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="An implementation of the Automatic Certificate Management
Environment (ACME) protocol"
HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
@@ -27,10 +37,13 @@ RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]"
-DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
- dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
-S=${WORKDIR}/${P}/${PN}
+S="${WORKDIR}/${MY_P}/${PN}"
python_test() {
nosetests -w ${PN} || die
diff --git a/app-crypt/letsencrypt/Manifest b/app-crypt/letsencrypt/Manifest
new file mode 100644
index 0000000..78c4d51
--- /dev/null
+++ b/app-crypt/letsencrypt/Manifest
@@ -0,0 +1 @@
+DIST letsencrypt-0.0.0.dev20151123.tar.gz 403690 SHA256
3f909ef521ab91eade4fa83f1f72c4b1cb74c9192144bc072d999248eb25e902 SHA512
e62cd4bf966b75e159949d84eda1005649dd4f11efbb1515601a5c6690e09ea1cc73bb3f535b6b20655752b7218fa3f02cf50e4cb12a335d76b10461e385aa96
WHIRLPOOL
5352083e3eabe69ea07b830fcdd3d9de2f431d5b8681c3484288feb2f6394d1c4dd9d46feffe08f7733015755e39df24e61293915877b97470339a3fa11c668c
diff --git a/app-crypt/letsencrypt/letsencrypt-9999.ebuild
b/app-crypt/letsencrypt/letsencrypt-0.0.0_pre20151123.ebuild
similarity index 63%
copy from app-crypt/letsencrypt/letsencrypt-9999.ebuild
copy to app-crypt/letsencrypt/letsencrypt-0.0.0_pre20151123.ebuild
index c271da7..ed22257 100644
--- a/app-crypt/letsencrypt/letsencrypt-9999.ebuild
+++ b/app-crypt/letsencrypt/letsencrypt-0.0.0_pre20151123.ebuild
@@ -3,18 +3,27 @@
# $Id$
EAPI=5
-PYTHON_COMPAT=(python2_7)
-EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+PYTHON_COMPAT=( python2_7 )
-inherit git-r3 distutils-r1
+inherit distutils-r1
-DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+ inherit git-r3
+else
+ MY_PV="${PV/_pre/.dev}"
+ MY_P="${PN}-${MY_PV}"
+
SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz ->
${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Let's Encrypt client to automate deployment of X.509 certificates"
HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
@@ -31,9 +40,11 @@ RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/zope-component[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]"
-DEPEND="test? ( ${RDEPEND}
- dev-python/nose[${PYTHON_USEDEP}] )
- dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
python_test() {
nosetests -w ${PN}/tests || die
diff --git a/app-crypt/letsencrypt/letsencrypt-9999.ebuild
b/app-crypt/letsencrypt/letsencrypt-9999.ebuild
index c271da7..f62f8df 100644
--- a/app-crypt/letsencrypt/letsencrypt-9999.ebuild
+++ b/app-crypt/letsencrypt/letsencrypt-9999.ebuild
@@ -3,18 +3,27 @@
# $Id$
EAPI=5
-PYTHON_COMPAT=(python2_7)
-EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+PYTHON_COMPAT=( python2_7 )
-inherit git-r3 distutils-r1
+inherit distutils-r1
-DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
+MY_PV="${PV/_pre/.dev}"
+MY_P="${PN}-${MY_PV}"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/letsencrypt/letsencrypt.git"
+ inherit git-r3
+else
+
SRC_URI="https://github.com/letsencrypt/letsencrypt/archive/v${MY_PV}.tar.gz ->
${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Let's Encrypt client to automate deployment of X.509 certificates"
HOMEPAGE="https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS=""
IUSE="test"
RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
@@ -31,9 +40,13 @@ RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/zope-component[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]"
-DEPEND="test? ( ${RDEPEND}
- dev-python/nose[${PYTHON_USEDEP}] )
- dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+S="${WORKDIR}/${MY_P}"
python_test() {
nosetests -w ${PN}/tests || die