mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/glymur: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
1
dev-python/glymur/Manifest
Normal file
1
dev-python/glymur/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST Glymur-0.8.10.tar.gz 3410241 SHA256 97d07136588f6431bffd4150327b87c1cd8489045b9cf2a2cce22fd7df804122 SHA512 8912e22d76b9de4a0bf8ec098ce1acc9bb0fa70b3b42ddb9fc1de5fc01653478d813429a00ef7502934af34eb78423881a31282e550e4f49c2c9f7d7c08b0016 WHIRLPOOL 1dad6329ed0d98a637c1087e8d833a7b2b19af8fdce70e7f1fce886165118c23bd92ffa6f38f70a8e63b1e542a53f619117d1f4c021ca40acd254b351514811c
|
||||
48
dev-python/glymur/glymur-0.8.10.ebuild
Normal file
48
dev-python/glymur/glymur-0.8.10.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
MYPN=Glymur
|
||||
MYP=${MYPN}-${PV}
|
||||
|
||||
DESCRIPTION="Python tools for accessing JPEG2000 files"
|
||||
HOMEPAGE="https://github.com/quintusdias/glymur"
|
||||
SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
media-libs/openjpeg:2=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
dev-python/numpydoc[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
HTML_DOCS=( docs/build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest discover || die
|
||||
}
|
||||
12
dev-python/glymur/metadata.xml
Normal file
12
dev-python/glymur/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">glymur</remote-id>
|
||||
<remote-id type="github">quintusdias/glymur</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user