diff --git a/dev-python/fallocate/fallocate-1.6.4.ebuild b/dev-python/fallocate/fallocate-1.6.4.ebuild new file mode 100644 index 0000000000000000000000000000000000000000..60fddc81b0052e026e2dc16a6f07473170d33b77 --- /dev/null +++ b/dev-python/fallocate/fallocate-1.6.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) + +inherit distutils-r1 +PYPY_PATH="50/a1/bf19d1bde4833d3dce97ed8f78c20035b1b83c4d79f033a7f00d2ba1fad1/" + +DESCRIPTION="Module to expose posix_fallocate(3), posix_fadvise(3) and fallocate(2)" +HOMEPAGE="https://github.com/trbs/fallocate" + +if [[ ${PV} == 9999 ]];then + inherit git-r3 + SRC_URI="" + KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + EGIT_REPO_URI="${HOMEPAGE}" + EGIT_CLONE_TYPE="shallow" +else + + SRC_URI="https://files.pythonhosted.org/packages/${PYPY_PATH}${P}.tar.gz" + KEYWORDS="-* amd64 x86 amd64-linux x86-linux" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="" +RESTRICT="mirror"