1
0

dev-python/pyglm: add 2.7.0

This commit is contained in:
Ryan Fox 2023-03-26 21:28:12 -07:00
parent e8b3092359
commit f3cf40b22d
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 49 additions and 3 deletions

View File

@ -1,6 +1,4 @@
DIST glm-fcda03b54596adda543bcdccc6c1879e380c86a7.gh.tar.gz 4386835 BLAKE2B cb8ee1437ae1db4ea40f95c47b05ccec64ed69a013f7fde89ebf0fb82ea41ec9a01eeea8615e7db3e7d1aa06a241b01deb2701b04f482dbd7f7f25d58aea354c SHA512 ae9f6cb040700f98be6cbadc6f4bec1ac22e1fe704c7e36781aaa1db155e70fa9bd280e8ddd14bf941a02d0ed7587965a7607f3ad6699655a15131d440141f41
DIST pyglm-2.6.0.gh.tar.gz 731812 BLAKE2B 305b89f2312efe63c543e5bacaf16ade3842b04b4e5c17d64ddc944e1db7c703840c7f89a9bdf799d7d2b6ac391c59bd73a91f429aaf3a9e7c447e2ac1511147 SHA512 2355ef33566d12c07c4c921580c15deac860bf48c7913e496c7f5cd1a8cef2574d474fb8da3377576f9b76dacfbaf55ead20a5df65ac315bfd865e381142e139
DIST pyglm-2.7.0.gh.tar.gz 733653 BLAKE2B 7c11f729677679e61968152f2a01bf035b72636dba7c0ee641db54a24d583633595790913ebc6ad02a6ab1923931e4765da406eedb1d87f6a7e8644088b24357 SHA512 23f86df128cafcb617675003cd0bcb1200214041ecc01fb073042ec0dfe20bb065f2816d340af3517bc3bb595fdee5b3c39ff83c6e994e17c4f8990fa94eb555
DIST pyglm-typing-f47636b86d07d4f91692235e8dfe0af1bd22e883.gh.tar.gz 67212 BLAKE2B 42abfa52d7df51c98cb629e2300475c5e30c53d1c9481bc9fd1632276ea08e08a3251df67507f02caccb03cebdd2a02baccf1aab25d867567c617939186b722d SHA512 2e5f318c11aaa6dcc6fd1aeb3690b1268f7892c14ca04446f3fe199afe34676082f55434640f7258813cfe9ee8167394e86841f689701aa2ffd230e49a4a89fa
EBUILD pyglm-2.6.0.ebuild 1262 BLAKE2B 2bc35dc4747c2867160e69cd3310e6c6bd8a10314484c875606faefd8ca3c8700607c1136e219f4d3b672df9fdbf7c9b8862e2ac45887577abbf6b64b44baba2 SHA512 82457c9f78c29aee1fb94e390b1dda921eb83f44297f64155baeaabf539b722b957238c3181fbba8d44a07167ba3303dc38f60042a84a8d053aafe08808e8298
EBUILD pyglm-9999.ebuild 1262 BLAKE2B 2bc35dc4747c2867160e69cd3310e6c6bd8a10314484c875606faefd8ca3c8700607c1136e219f4d3b672df9fdbf7c9b8862e2ac45887577abbf6b64b44baba2 SHA512 82457c9f78c29aee1fb94e390b1dda921eb83f44297f64155baeaabf539b722b957238c3181fbba8d44a07167ba3303dc38f60042a84a8d053aafe08808e8298
MISC metadata.xml 364 BLAKE2B 9ab5f56e676a23a247749b9c567c7ecceee918a184fed4a67771f99260d78b76c10f13f86f3ddb13e590e4fdd59a05b01287878388437eee34627d8be70715a2 SHA512 7175512d947dd6cac2262b883fe5455202c6f3e47ce61e9f6d4bbe5789c24c32275a53f2e8ed64b53a93423abfb697e4166b5221c6570e2a67f5384dc0091a55

View File

@ -0,0 +1,48 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{5..11} )
inherit distutils-r1
GLM_COMMIT="fcda03b54596adda543bcdccc6c1879e380c86a7"
TYPING_COMMIT="f47636b86d07d4f91692235e8dfe0af1bd22e883"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Zuzu-Typ/PyGLM.git"
EGIT_SUBMODULES=( glm pyglm-typing )
else
SRC_URI="
https://github.com/Zuzu-Typ/PyGLM/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/g-truc/glm/archive/${GLM_COMMIT}.tar.gz -> glm-${GLM_COMMIT}.gh.tar.gz
https://github.com/esoma/pyglm-typing/archive/${TYPING_COMMIT}.tar.gz -> pyglm-typing-${TYPING_COMMIT}.gh.tar.gz
"
KEYWORDS="~amd64"
MY_PN="PyGLM"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
fi
DESCRIPTION="Fast OpenGL Mathematics"
HOMEPAGE="https://github.com/Zuzu-Typ/PyGLM"
LICENSE="ZLIB"
SLOT="0"
RDEPEND=""
BDEPEND="media-libs/glm"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
rm -rf "${S}/glm" || die
mv "${WORKDIR}/glm-${GLM_COMMIT}" "${S}/glm" || die
rm -rf "${S}/pyglm-typing" || die
mv "${WORKDIR}/pyglm-typing-${TYPING_COMMIT}" "${S}/pyglm-typing" || die
fi
}