updated ebuild while preparing to submit it
[skip ci]
This commit is contained in:
@@ -1,34 +1,43 @@
|
|||||||
# Copyright 2014 Michael Greene
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the BSD 3-Clause License
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $HEADER: $
|
# $Id$
|
||||||
|
|
||||||
EAPI=5
|
EAPI=6
|
||||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy )
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
|
if [[ "${PV}" == "0.4.0" ]]; then
|
||||||
|
# PGPy 0.4.0's filename is slightly different because of difficulties with PyPI when uploading
|
||||||
|
MY_PV="${PV}a"
|
||||||
|
fi
|
||||||
|
|
||||||
DESCRIPTION="Pretty Good Privacy for Python - a pure Python OpenPGP implementation."
|
DESCRIPTION="Pretty Good Privacy for Python - a pure Python OpenPGP implementation."
|
||||||
HOMEPAGE="https://github.com/SecurityInnovation/PGPy"
|
HOMEPAGE="https://github.com/SecurityInnovation/PGPy/"
|
||||||
SRC_URI="https://pypi.python.org/packages/0a/2c/bfe57ac97d31fcd7172df43770d68bab1fbd38d629448ec8013f4714e779/PGPy-0.4.0a.tar.gz"
|
SRC_URI="mirror://pypi/P/PGPy/PGPy-${MY_PV-$PV}.tar.gz"
|
||||||
|
|
||||||
LICENSE="BSD"
|
LICENSE="BSD"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
RDEPEND="
|
||||||
RDEPEND="dev-python/singledispatch[${PYTHON_USEDEP}]
|
dev-python/singledispatch[${PYTHON_USEDEP}]
|
||||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||||
>=dev-python/cryptography-1.1.0[${PYTHON_USEDEP}]
|
>=dev-python/cryptography-1.1.0[${PYTHON_USEDEP}]
|
||||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3)"
|
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
DOCS=( README.rst )
|
DOCS=( README.rst )
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
if [ "${A}" != "" ]; then
|
if [ "${A}" != "" ]; then
|
||||||
unpack ${A}
|
unpack ${A}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "${WORKDIR}"
|
cd "${WORKDIR}"
|
||||||
mv PGPy-${PV} pgpy-${PV}
|
mv PGPy-${PV} ${P}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user