certbot-nginx: new ebuild for testing

This commit is contained in:
blshkv 2016-12-11 17:40:01 +08:00
parent 72035f4dc5
commit 5e65062c08
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST certbot-0.9.3.tar.gz 794146 SHA256 5c40cfcf3a17624e34dcb733148bd247c4f0cee189766fe0fb6d29571d4068bb SHA512 a951e639515fc037721d8b086e53100dcc86974a96c61c7173b2a9c0582bb59380efe219caf3fd1517fcdf28dde4a1f66bba84b51e2a2027df114818ff4d7565 WHIRLPOOL 45c7b17cffc971acf3b6998c5702abd91c067e095acd9a4264109e711b869ac1db9e7d2a4ff9d86d680f5579b6a2fbca610a6905c81e549f72a10adf17f19da2
EBUILD certbot-nginx-0.9.3.ebuild 949 SHA256 f8ff79697df3a5f4282b125794de85be0392266753c34c50764b4aa3723a60ef SHA512 06d55f0f48c82a8e6995f4bd3597cb5262bfc82c70b2875aace5bd10dc442ec61a111592d51f365074e18714925b384d0037016a0a14d9edf0f25cf3aae4e0c3 WHIRLPOOL c3424ef8df5a8ee8db4f9515ae28064d230fad977f341d70e62f9f7a46fb60c587444ba1b977d5c6db034af90bcbf5e3809861c45f11510133e7d5f865672b3e

View file

@ -0,0 +1,33 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=(python2_7)
inherit distutils-r1
DESCRIPTION="Apache NGINX plugin for certbot (Let's Encrypt Client)"
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="test"
RDEPEND="app-crypt/certbot[${PYTHON_USEDEP}]
app-crypt/acme[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/python-augeas[${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}]"
S=${WORKDIR}/certbot-${PV}/certbot-nginx
python_test() {
nosetests || die
}