summaryrefslogtreecommitdiff
path: root/app-portage/gemato
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-15 17:25:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-15 17:25:28 +0000
commit6b933047f46efec1aa747570f945344254227457 (patch)
treea12a4b87b38f954c4de435272cf4b90d721df5e8 /app-portage/gemato
parentf45955e60d4da9b7f4a1088c98042f9c06669039 (diff)
gentoo resync : 15.12.2017
Diffstat (limited to 'app-portage/gemato')
-rw-r--r--app-portage/gemato/Manifest6
-rw-r--r--app-portage/gemato/gemato-9.2.ebuild44
-rw-r--r--app-portage/gemato/gemato-9999.ebuild21
-rw-r--r--app-portage/gemato/metadata.xml2
4 files changed, 67 insertions, 6 deletions
diff --git a/app-portage/gemato/Manifest b/app-portage/gemato/Manifest
index 5e2d0701cb44..f05aa33ea44c 100644
--- a/app-portage/gemato/Manifest
+++ b/app-portage/gemato/Manifest
@@ -1,6 +1,8 @@
DIST gemato-8.tar.gz 57379 BLAKE2B e83cba508ed781667abab3e18059f838c99e92217a7f1dde90b2cc4200a0ab83baabf789bc6bc978b4f080bf285ab9b7ea62e86a98c272abf3889093d780eac3 SHA512 9e5e7c304166d311b7101330b36c3d781e5d3901feb5247235ed04a8aa316416f6045658fab176e34ca6c2d6653eda66ef19789b39a60cb316add9985c9a8040
DIST gemato-9.1.tar.gz 59352 BLAKE2B e2e2d02de29856a91c2432496101589fbe1a87456d46071c03ae5b999a46356f144c6d5831d42896ee15d1bdede32cdcc6b02c412b427f7878d8fc9ecaef84c1 SHA512 cf7bec8ccf7eab75bdbaf0e9a701c7b0fa1a8f2f329f4ba7ef3399898997a6bb3f53c6dfe49cd054ce12baf1f4490e2b7610f5964ff7e6053ae7dd53dd34900e
+DIST gemato-9.2.tar.gz 60217 BLAKE2B f46cb35b5ae71fe1743c7a43bfeff42a9d77517ef48dca1dd05c5c8cd569d5dcd9bdb0c0957d81d2db6b8d873099463fd6132121be04e0fd6f55bb130df48c2e SHA512 bb40abb910b528e455bdc01ed528071ca6f1390a8a5ae670692c93e6c3fc8fd7fc7e95d7321c81ad5144fc8a042676a8dac634c7b3f68e7f725edc98edd30c94
EBUILD gemato-8.ebuild 1054 BLAKE2B 76b1ace451f773cc6b60110fbc75df45bff19604ddf2383e4e59df5aeb4e730d61b66acab39d8060f0879be636dbe76b17bf7d29b63e6a03d16bf85015b03b1f SHA512 84d6dc68246c608eaa1d72ca902e688c24e5f16667397a784f298b9bc6718723f2b5bdec85aa1b3a99d063753de5a1533da0177459a9556bb27c15c5f5c68e90
EBUILD gemato-9.1.ebuild 1047 BLAKE2B 031ca60fc75f580c5cf6051e2838dd7cf98d7eadfc2d2b163b04463edf018c9eac520544e815de5d7e3f6062bb75641397c94e085d16ee0e51e3213ef6c03275 SHA512 ed9196e369cb4f964c70a9fb3f8e2226058284d92e2cd1a295a01069cee8f57c44f66891db4f87dadb314b5462b8deff576d00a6dd0abb1f31f3a68cf6063da9
-EBUILD gemato-9999.ebuild 1038 BLAKE2B e6d3cbcc3f35d0e8a5f9370c2ad0eaa575f79fae8bb0ae921f1bb99c39b0c46da0caa217330b0090b10c610e2c9b0200c1501a4bf1df60cac0f11e2b61f98f86 SHA512 f19ce1d4f80d414b18ecbe2f8859ab9d6326ee8e30e03202dfcddee7604b337622fd7f599fa677fdd0273a2d98fab2d28e85b5ef3d27ebb122b7a4286d194631
-MISC metadata.xml 670 BLAKE2B 8495c32b74bb84f14d4fdd19fefd5c852534547fff65656f76290f019ddb2412453da59195bf67bd596acdd4f24b9f4fbb1d357375fd9ab1d83466e8479f53c4 SHA512 fc2549228500c0829f6e53e011cf46bee9bd3e5b234ceb73e3ef9c4ca3b3755ec3dbdbd86ff9c16ae65bf40329c47e9d6c4b7d78c810e609a50ad508c2776851
+EBUILD gemato-9.2.ebuild 1382 BLAKE2B 147d07bc92bde25575603972defcb6d699fb3e5e0794d4d73488a4dacb958c321ae98f000d2e5bea5c12b726bd9699d330da6befbd9fc06805b2148b555dd37a SHA512 00d3b2b1ee886fe39c6263263afee0e2b555bcd1a30288a1e9bddc8b75fb40f60fda5b4df39117576594c7f8c0488f21cb2c428330fe010e19ea7912ae8b7c36
+EBUILD gemato-9999.ebuild 1373 BLAKE2B 7e8bc4fe97e744414e52bf382707c997ffc06b6f996e622c90c6d4dc1816889b947ea775efa64f2589c4801a039c18c7fa44796b75fa063c2a250923a575817c SHA512 b7f6a5f21aa92c933dc6ab0b66b35a76949ea8daca49a2e37a87505483b820c3e54fe03db9ccbc3d32e0b722a893681193fb5f5738e0d4e6b3f2d1be700e0f62
+MISC metadata.xml 785 BLAKE2B ad8381a17cee4fee5099ca5e4312b703eae026436ec8082f272954ec0850547844923e108c02d9041beb6bfcd33bf18c846344d797f56a61170fd6b4445557c2 SHA512 86ffb0a9b39e261b35430d1055deebe8c66eb2c285211274feb793bf003296389a3bbb38ccd33d350a8bf56fcd241edcf9576305fc3aaf68cab68401ad983b83
diff --git a/app-portage/gemato/gemato-9.2.ebuild b/app-portage/gemato/gemato-9.2.ebuild
new file mode 100644
index 000000000000..e5d5e0fa57e5
--- /dev/null
+++ b/app-portage/gemato/gemato-9.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# backports.lzma is broken with pypy
+# pyblake2 & pysha3 are broken with pypy3
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Stand-alone Manifest generation & verification tool"
+HOMEPAGE="https://github.com/mgorny/gemato"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="+blake2 bzip2 +gpg lzma +portage-postsync sha3 test"
+
+MODULE_RDEPEND="
+ blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
+ bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
+ gpg? ( app-crypt/gnupg )
+ lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
+ sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
+
+RDEPEND="${MODULE_RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ portage-postsync? ( app-crypt/gentoo-keys )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${MODULE_RDEPEND} )"
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use portage-postsync; then
+ exeinto /etc/portage/repo.postsync.d
+ doexe utils/repo.postsync.d/00gemato
+ fi
+}
diff --git a/app-portage/gemato/gemato-9999.ebuild b/app-portage/gemato/gemato-9999.ebuild
index 2475d8627bb5..ddcbd59df71b 100644
--- a/app-portage/gemato/gemato-9999.ebuild
+++ b/app-portage/gemato/gemato-9999.ebuild
@@ -16,17 +16,30 @@ EGIT_REPO_URI="https://github.com/mgorny/gemato.git"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
-IUSE="+blake2 bzip2 +gpg lzma sha3"
+IUSE="+blake2 bzip2 +gpg lzma +portage-postsync sha3 test"
-RDEPEND="
+MODULE_RDEPEND="
blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
gpg? ( app-crypt/gnupg )
lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="${MODULE_RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ portage-postsync? ( app-crypt/gentoo-keys )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${MODULE_RDEPEND} )"
python_test() {
esetup.py test
}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use portage-postsync; then
+ exeinto /etc/portage/repo.postsync.d
+ doexe utils/repo.postsync.d/00gemato
+ fi
+}
diff --git a/app-portage/gemato/metadata.xml b/app-portage/gemato/metadata.xml
index 23ea67a25989..ae9f30181418 100644
--- a/app-portage/gemato/metadata.xml
+++ b/app-portage/gemato/metadata.xml
@@ -10,6 +10,8 @@
functions</flag>
<flag name='gpg'>Install dependencies needed for OpenPGP
signature verification support</flag>
+ <flag name='portage-postsync'>Install a Portage hook to verify
+ the repository after fetching via rsync</flag>
<flag name='sha3'>Install dependencies needed for SHA3 hash
functions</flag>
</use>