32 lines
897 B
Bash
32 lines
897 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycryptopp/pycryptopp-0.5.29.ebuild,v 1.1 2011/12/08 02:23:47 radhermit Exp $
|
|
|
|
EAPI="4"
|
|
PYTHON_DEPEND="2"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
RESTRICT_PYTHON_ABIS="3.*"
|
|
DISTUTILS_SRC_TEST="setup.py"
|
|
DISTUTILS_GLOBAL_OPTIONS=("2.*-cpython --disable-embedded-cryptopp")
|
|
|
|
inherit distutils
|
|
|
|
DESCRIPTION="Python wrappers for a few algorithms from the Crypto++ library"
|
|
HOMEPAGE="http://tahoe-lafs.org/trac/pycryptopp http://pypi.python.org/pypi/pycryptopp"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-libs/crypto++"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools"
|
|
|
|
DOCS="NEWS.rst"
|
|
|
|
src_prepare() {
|
|
# Don't install license files
|
|
sed -i -e "/data_files=data_files,/d" setup.py || die
|
|
}
|