Compare commits
No commits in common. "cf6f1a2459c3a6528ad941cbe6c5e409e69b70de" and "2e79dcbd34af5475651c32a4ee1df60c5f9e7f48" have entirely different histories.
cf6f1a2459
...
2e79dcbd34
|
@ -1 +0,0 @@
|
||||||
DIST pyshaders-1.4.1.tar.gz 10059 BLAKE2B 593419ea9972c9aed56c2f7e4d8f1c21e5cd8385e7e2a3c9e3a69517f47e7946a66bf995b456e6650ea781562046dcdbc960600539e09bc753df91a8957a8004 SHA512 a95d328f18ae50169ce4e7b62a0059a035d21c8b66053cfc60aef2fd93bb61ae5bd477c6d40b44bc8571fb12a89e83a4ffe20320cc36fdcd93cecfe4c20bd3d0
|
|
|
@ -1,45 +0,0 @@
|
||||||
|
|
||||||
# Ebuild for pyshaders
|
|
||||||
# Auto-generated by pipgen.py - TEST ME!
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="OpenGL shader wrapper for python"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://github.com/gabdube/pyshaders
|
|
||||||
https://pypi.org/project/pyshaders/
|
|
||||||
"
|
|
||||||
|
|
||||||
MY_PN="pyshaders"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
|
||||||
EGIT_REPO_URI="https://github.com/gabdube/pyshaders.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/pyglet[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
# pkg_data:
|
|
||||||
# {'dependencies': [],
|
|
||||||
# 'description': 'OpenGL shader wrapper for python',
|
|
||||||
# 'git_url': 'https://github.com/gabdube/pyshaders.git',
|
|
||||||
# 'home_url': 'https://github.com/gabdube/pyshaders',
|
|
||||||
# 'license': 'MIT',
|
|
||||||
# 'pypi_name': 'pyshaders',
|
|
||||||
# 'pypi_url': 'https://pypi.org/project/pyshaders/',
|
|
||||||
# 'setuptools_deps': [],
|
|
||||||
# 'version': '1.4.1'}
|
|
|
@ -190,7 +190,7 @@ def __main__():
|
||||||
os.makedirs(pkg_name)
|
os.makedirs(pkg_name)
|
||||||
|
|
||||||
pkg_data = get_package((args.name + '/' + args.version) if args.version else args.name)
|
pkg_data = get_package((args.name + '/' + args.version) if args.version else args.name)
|
||||||
with open(f'{pkg_name}/{pkg_name.partition("/")[2]}-{pkg_data["version"]}.ebuild', 'w') as fh:
|
with open(f'{pkg_name}/{pkg_name.partition("/")[0]}-{pkg_data["version"]}.ebuild', 'w') as fh:
|
||||||
fh.write(fill_template(pkg_data))
|
fh.write(fill_template(pkg_data))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue