Python Azure

This commit is contained in:
Gerben Jan Dijkman
2021-07-08 23:55:07 +02:00
parent eccf7e3e78
commit 83357f9877
59 changed files with 827 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
inherit distutils-r1
DESCRIPTION="Library to provide an easy API to file locking"
HOMEPAGE="https://github.com/WoLpH/portalocker"
SRC_URI="https://github.com/WoLpH/portalocker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="doc"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
python_compile_all() {
if use doc; then
cd docs || die
emake html
fi
}
python_install_all() {
distutils-r1_python_install_all
dodoc README.rst CHANGELOG.rst
use doc && dodoc -r docs/_build/html
}