summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2018-03-16 02:19:09 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2018-03-16 03:06:13 -0400
commit51cb4b7a78de056820b8bd64779549df0ae91178 (patch)
treea94e6201c625aadafc36259180cf069fc203d283 /app-crypt/acme-tiny
parentdev-python/rootpy: bump to 1.0.1 and remove old. (diff)
downloadgentoo-51cb4b7a78de056820b8bd64779549df0ae91178.tar.gz
gentoo-51cb4b7a78de056820b8bd64779549df0ae91178.tar.bz2
gentoo-51cb4b7a78de056820b8bd64779549df0ae91178.zip
app-crypt/acme-tiny: Adjust versioning for new versions
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-crypt/acme-tiny')
-rw-r--r--app-crypt/acme-tiny/Manifest2
-rw-r--r--app-crypt/acme-tiny/acme-tiny-0_p20170917.ebuild (renamed from app-crypt/acme-tiny/acme-tiny-20170917.ebuild)11
-rw-r--r--app-crypt/acme-tiny/acme-tiny-9999.ebuild (renamed from app-crypt/acme-tiny/acme-tiny-99999999.ebuild)11
3 files changed, 15 insertions, 9 deletions
diff --git a/app-crypt/acme-tiny/Manifest b/app-crypt/acme-tiny/Manifest
index adc866795ddb..3c3367257ead 100644
--- a/app-crypt/acme-tiny/Manifest
+++ b/app-crypt/acme-tiny/Manifest
@@ -1 +1 @@
-DIST acme-tiny-20170917.tar.gz 10516 BLAKE2B e9d4ae170579cd5379dbb4d900d051bc1789ac994eb491aafb9952cd004b3e3feed20ef505f88587035f3f16163e7965a1b3883caaaa8c2327fca6be0240a17f SHA512 0bfb0d064f21f9d89e3c5863f33c7326c02948a42e2c8dc11c7b5baaf5e0dfcaeba0ad461b2ad12e292cc14f64b44f331f11b56dda6592a4663baf0714048700
+DIST acme-tiny-0_p20170917.tar.gz 10516 BLAKE2B e9d4ae170579cd5379dbb4d900d051bc1789ac994eb491aafb9952cd004b3e3feed20ef505f88587035f3f16163e7965a1b3883caaaa8c2327fca6be0240a17f SHA512 0bfb0d064f21f9d89e3c5863f33c7326c02948a42e2c8dc11c7b5baaf5e0dfcaeba0ad461b2ad12e292cc14f64b44f331f11b56dda6592a4663baf0714048700
diff --git a/app-crypt/acme-tiny/acme-tiny-20170917.ebuild b/app-crypt/acme-tiny/acme-tiny-0_p20170917.ebuild
index b85a76447997..5dc8c71c35e5 100644
--- a/app-crypt/acme-tiny/acme-tiny-20170917.ebuild
+++ b/app-crypt/acme-tiny/acme-tiny-0_p20170917.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,15 +6,18 @@ EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
-if [[ ${PV} == 99999999 ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/diafygi/${PN}.git"
KEYWORDS=""
-else
+elif [[ ${PV} =~ 0_p* ]]; then
HASH="4ed13950c0a9cf61f1ca81ff1874cde1cf48ab32"
SRC_URI="https://github.com/diafygi/${PN}/archive/${HASH}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${HASH}"
+else
+ SRC_URI="https://github.com/diafygi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A tiny, auditable script for Let's Encrypt's ACME Protocol"
@@ -31,7 +34,7 @@ RDEPEND="dev-libs/openssl:0"
PATCHES=( "${FILESDIR}/${PN}-PR50-setup.py.patch" )
pkg_setup() {
- if [[ ${PV} != 99999999 ]]; then
+ if [[ ${PV} != 9999 ]]; then
export SETUPTOOLS_SCM_PRETEND_VERSION="0.1.dev79+n${HASH:0:7}.d$(date +%Y%m%d)"
fi
}
diff --git a/app-crypt/acme-tiny/acme-tiny-99999999.ebuild b/app-crypt/acme-tiny/acme-tiny-9999.ebuild
index b85a76447997..5dc8c71c35e5 100644
--- a/app-crypt/acme-tiny/acme-tiny-99999999.ebuild
+++ b/app-crypt/acme-tiny/acme-tiny-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,15 +6,18 @@ EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
-if [[ ${PV} == 99999999 ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/diafygi/${PN}.git"
KEYWORDS=""
-else
+elif [[ ${PV} =~ 0_p* ]]; then
HASH="4ed13950c0a9cf61f1ca81ff1874cde1cf48ab32"
SRC_URI="https://github.com/diafygi/${PN}/archive/${HASH}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${HASH}"
+else
+ SRC_URI="https://github.com/diafygi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A tiny, auditable script for Let's Encrypt's ACME Protocol"
@@ -31,7 +34,7 @@ RDEPEND="dev-libs/openssl:0"
PATCHES=( "${FILESDIR}/${PN}-PR50-setup.py.patch" )
pkg_setup() {
- if [[ ${PV} != 99999999 ]]; then
+ if [[ ${PV} != 9999 ]]; then
export SETUPTOOLS_SCM_PRETEND_VERSION="0.1.dev79+n${HASH:0:7}.d$(date +%Y%m%d)"
fi
}