empire-5.2.2.ebuild

This commit is contained in:
Anton Bolshakov 2023-05-01 08:22:45 +08:00
parent e6ee6602c6
commit c2f4ff9212
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
16 changed files with 164 additions and 18 deletions

View file

@ -1,2 +1,2 @@
DIST empire-5.0.4.tar.gz 49429451 BLAKE2B 3fa74351d1160be5040bfd316594953825acb5af7a14b30cba5be1c4defbb74848f214a7bd97ecd7494368efecc50dcf2af1d409f04d8e7fd76c369169494aa6 SHA512 23fca8d7c158d8e001bd58c1623a6494b6a101f438b293dffb78b89f51153451e226fbfffa34be0de054fd550f3012bffe0315e8138a5bc8b5f76c896fb823fa
DIST empire-5.1.2.tar.gz 49428498 BLAKE2B d78192b2902192aea45f6095c76fceb5329200174ed8dd2192e029081cec8e096c62bae26482c66ade89c0fe0945a2885675d362c8c0715e450689d3a191717f SHA512 1d343f829d87d2f9eea5c0ada4977646939c622a2ff27db5cbcc8c221c74ae769d9586617150357820b2dad9a75a37bc54f92bda1804dbead72390a90fa871c6 DIST empire-5.1.2.tar.gz 49428498 BLAKE2B d78192b2902192aea45f6095c76fceb5329200174ed8dd2192e029081cec8e096c62bae26482c66ade89c0fe0945a2885675d362c8c0715e450689d3a191717f SHA512 1d343f829d87d2f9eea5c0ada4977646939c622a2ff27db5cbcc8c221c74ae769d9586617150357820b2dad9a75a37bc54f92bda1804dbead72390a90fa871c6
DIST empire-5.2.2.tar.gz 49438580 BLAKE2B fd1b5f589b32918f2bb603f40f8bd3f424caec50acfa469ac484567824045d226fef06ebebafb9af40d409d6968ef64d9dfcaa9c1df9fac1dc12aff82d1dee7d SHA512 7ee0db49c3ef687ccf15aee1b202aa869ebc81273e4887c7fc0667b26099a19e6c9a058d499f6467f1a9833db960d6c4f154230dea06357882a3fb7cbddbff49

View file

@ -1 +1,2 @@
DIST bidict-0.21.2.tar.gz 381613 BLAKE2B 6bc154cd49d33f9f144c0122175355327f16fbf3f701f751ecc0b65d335c78e5cb66126ef055545ec35a0b56a18efc4446a471477f9c2984f7c9a60cb80e2120 SHA512 d4f055bfc8b9e99727e4d6eb19535802cbe0dd03def4d94f30771c26c9e39963c721bdb33e4055d7e10471ae5f4047b7d14ba978390628d03bc53b6c9a664db8 DIST bidict-0.21.2.tar.gz 381613 BLAKE2B 6bc154cd49d33f9f144c0122175355327f16fbf3f701f751ecc0b65d335c78e5cb66126ef055545ec35a0b56a18efc4446a471477f9c2984f7c9a60cb80e2120 SHA512 d4f055bfc8b9e99727e4d6eb19535802cbe0dd03def4d94f30771c26c9e39963c721bdb33e4055d7e10471ae5f4047b7d14ba978390628d03bc53b6c9a664db8
DIST bidict-0.22.1.tar.gz 31660 BLAKE2B b5fbf0b3cf680e965c83bfd8e1f677fe6f510109ebcc6be1b4af3a04891e87775508581c2fbce5aeb956852d168eb1f0da3dce327ae996d12541b1ab087295b2 SHA512 cccdec76ff4a3b02a7edd228858ec3aa9314b84494ed7e4f89c633109ee0cfc14ddc383cf55938bd1d64eae7a78e3bc5ed6b565045715b790441c5c2910a0079

View file

@ -3,12 +3,13 @@
EAPI=7 EAPI=7
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 inherit distutils-r1 pypi
DESCRIPTION="The bidirectional mapping library for Python." DESCRIPTION="The bidirectional mapping library for Python."
HOMEPAGE="https://pypi.org/project/bidict/ https://github.com/jab/bidict" HOMEPAGE="https://pypi.org/project/bidict/ https://github.com/jab/bidict"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" #SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0" LICENSE="MPL-2.0"
SLOT="0" SLOT="0"

View file

@ -0,0 +1,23 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="The bidirectional mapping library for Python."
HOMEPAGE="https://pypi.org/project/bidict/ https://github.com/jab/bidict"
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# pypi tarball does not contain tests
RESTRICT="test"

View file

@ -1 +1,2 @@
DIST donut-shellcode-0.9.2.tar.gz 149690 BLAKE2B 60658c5c1aab28746aae2b115a530abbdd2e0f8a602e43834dd4679194d51141ed2b2f4be559190703f69c07d66044c5dfaff9bbd8c80f18f959f9d175b69de6 SHA512 3a8b315c58f0fc1e0160dcf85292707a3a5d762e3c8f5153b90c922387c9c40022199c07ef4657d0540b6f34237b04dfdfd7a82de2eb1427fd56b08d80459691 DIST donut-shellcode-0.9.2.tar.gz 149690 BLAKE2B 60658c5c1aab28746aae2b115a530abbdd2e0f8a602e43834dd4679194d51141ed2b2f4be559190703f69c07d66044c5dfaff9bbd8c80f18f959f9d175b69de6 SHA512 3a8b315c58f0fc1e0160dcf85292707a3a5d762e3c8f5153b90c922387c9c40022199c07ef4657d0540b6f34237b04dfdfd7a82de2eb1427fd56b08d80459691
DIST donut-shellcode-1.0.2.tar.gz 293032 BLAKE2B 8d64d241e9c4ee9c7ce3c4a21b0b8941aa41063a7eea0e0c32d97efdf983ebcddac558126767baba642d36f027b618632f36f8a7a9b59cc14294184263d9a7f8 SHA512 1b868d2bd3763623c97027f92420c7e45bb50437f0694904aac62b0b69f559ab467523d1550829aa8bdaa3bc4a34c8ed5a6349be1021f83899d170231df8a451

View file

@ -0,0 +1,22 @@
# 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_{10..11} )
inherit distutils-r1
DESCRIPTION="Donut Python C extension"
HOMEPAGE="https://github.com/TheWover/donut"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

View file

@ -1 +1,2 @@
DIST dropbox-sdk-10.1.1.tar.gz 1204066 BLAKE2B 8634915c24f1f1d3199103917987ae28c4df25146099da2a41e7c3dc185441b4c6fe887b49caf18ca65fcc66a214df9199e043f78754b4d23371e2c1a9dc6a7a SHA512 0af92e4460c2f2c3f520054d1c28678612ad92d1ea64451a26036b23876896f527aed2d959af398bbd0f7b7f21ee39afbf27bc3168a2c7636af8f76db64c4e67 DIST dropbox-sdk-10.1.1.tar.gz 1204066 BLAKE2B 8634915c24f1f1d3199103917987ae28c4df25146099da2a41e7c3dc185441b4c6fe887b49caf18ca65fcc66a214df9199e043f78754b4d23371e2c1a9dc6a7a SHA512 0af92e4460c2f2c3f520054d1c28678612ad92d1ea64451a26036b23876896f527aed2d959af398bbd0f7b7f21ee39afbf27bc3168a2c7636af8f76db64c4e67
DIST dropbox-sdk-11.36.1.tar.gz 1166660 BLAKE2B ed2586c27e020cae38dafdee7367ea38ad191a6275ab677adef13cf3b3c2eec1fab204d6845a7108b33a925a41459053eb5d33bd5a5c0be771613e9f89f775d7 SHA512 29db18efa9059744d6e18f3f15eaee9161df0e26af947fac3fdf3d7e906380f499c1ecc4b2c14a5207c879cd282b73dea44a1dc664f27be99fbe2cd309b86f09

View file

@ -0,0 +1,31 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
EGO_PN=github.com/dropbox/${PN}-python
inherit distutils-r1
DESCRIPTION="A Python SDK for integrating with the Dropbox API v2."
HOMEPAGE="https://github.com/dropbox/dropbox-sdk-python"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
RDEPEND=">=dev-python/requests-2.16.2[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
>=dev-python/stone-2.0.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-python-${PV}"
python_prepare_all() {
sed -e '/setup_requires=setup_requires/d' -i setup.py
sed -e '/tests_require=test_reqs/d' -i setup.py
distutils-r1_python_prepare_all
}

View file

@ -1,2 +1,2 @@
DIST fastapi-0.77.0.tar.gz 6876375 BLAKE2B 18bf975c4272dbc52e18e480bf2bc7101afcb1f45279628483bbf823071500fd0b804376ffa4be3964c9723770cc4aab8c5d51af8ea372e63794f3a24ba75262 SHA512 ec6174e160b2f57e0f72cd440edef5a78f4f66fc118c6f9fd13cb9cba4676edd9fa5cb5cda24fde9a633103a527f5a601c3e6a24182782b98bc210286ca2ead0
DIST fastapi-0.79.0.tar.gz 7123609 BLAKE2B 96d27d7a94b9c9780d07441912f54e3b26a3c92be2c8f39316818d223a68ff0e1ef9320c86e2a96e8439e2dfa573d7bc6e910d38ed3b2852caffd217a9b592f1 SHA512 221679eedb1e90e9c06d347ca519412713c77360073d689f2dffa74e67d57d680876ffd1239986d1e468e226ee0ce0f865894232573a9a6681b54da3c4752127 DIST fastapi-0.79.0.tar.gz 7123609 BLAKE2B 96d27d7a94b9c9780d07441912f54e3b26a3c92be2c8f39316818d223a68ff0e1ef9320c86e2a96e8439e2dfa573d7bc6e910d38ed3b2852caffd217a9b592f1 SHA512 221679eedb1e90e9c06d347ca519412713c77360073d689f2dffa74e67d57d680876ffd1239986d1e468e226ee0ce0f865894232573a9a6681b54da3c4752127
DIST fastapi-0.95.1.tar.gz 10045151 BLAKE2B c4fbe9b203d4376ad5f9b6889f24ef77a757f1871f0dff9e9e5010e0292aaccf70e9952f582cd28bcbffbd7171fdabd51901b569a538bbbf5f2d30bf5bca7700 SHA512 111a77fda85deca863b610b693494a3628b90e006b7b6df0415149e486059d6191da7de84f48657b18784777e8cef824ed18364a299a8226596e11e5de8e661a

View file

@ -8,11 +8,11 @@ PYTHON_COMPAT=( python3_{10..11} )
#may be not stricly required #may be not stricly required
PYTHON_REQ_USE="threads(+)" PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 inherit distutils-r1 pypi
DESCRIPTION="FastAPI framework, high performance, easy to learn, fast to code, ready for production" DESCRIPTION="High performance framework, easy to learn, fast to code, ready for production"
HOMEPAGE="https://fastapi.tiangolo.com/" HOMEPAGE="https://fastapi.tiangolo.com/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" #SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"

View file

@ -1,21 +1,22 @@
# Copyright 1999-2022 Gentoo Authors # Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
DISTUTILS_USE_PEP517=flit DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..11} )
#may be not stricly required #may be not stricly required
PYTHON_REQ_USE="threads(+)" PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 inherit distutils-r1 pypi
DESCRIPTION="FastAPI framework, high performance, easy to learn, fast to code, ready for production" DESCRIPTION="High performance framework, easy to learn, fast to code, ready for production"
HOMEPAGE="https://fastapi.tiangolo.com/" HOMEPAGE="https://fastapi.tiangolo.com/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" #SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT" LICENSE="MIT"
SLOT="0" SLOT="0"
#starlette is not stable
KEYWORDS="~amd64 ~arm64 ~x86" KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="" IUSE=""
@ -23,7 +24,7 @@ RESTRICT="test"
#starlette is locked in the pyproject.toml, let's fix it #starlette is locked in the pyproject.toml, let's fix it
RDEPEND=" RDEPEND="
>=dev-python/starlette-0.19.0[${PYTHON_USEDEP}] >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.6.2[${PYTHON_USEDEP}] >=dev-python/pydantic-1.6.2[${PYTHON_USEDEP}]
" "
#FIXME: add missing deps #FIXME: add missing deps
@ -51,7 +52,7 @@ RDEPEND="
#distutils_enable_tests pytest #distutils_enable_tests pytest
src_prepare(){ #src_prepare(){
sed -i -e 's|starlette==0.19.0|starlette>=0.19.0|g' pyproject.toml || die # sed -i -e 's|starlette==0.19.1|starlette>=0.19.1|g' pyproject.toml || die
eapply_user # eapply_user
} #}

View file

@ -0,0 +1 @@
DIST stone-3.3.1.gh.tar.gz 282831 BLAKE2B b9a866e43feedea28cd33b89f78100be520a2756fa78888e9a786ae27942a5c19df51010c0af952de70c782d3fc3588de1ae0f58450d807053989bb91d285f15 SHA512 ee07f01b6f10e771afbe6ca6f07d7efa24a5460e5c163f339ae84a8b7742a659f5cb535e674a2f315d1bfa95b7c02e56f46db1f397188b5b6705f6c00c1e9d73

View file

@ -0,0 +1,15 @@
Replace method deprecated in 3.10 and removed in 3.11. Upstream is slow to release a fix.
See also: https://github.com/dropbox/stone/issues/288
--- a/stone/frontend/ir_generator.py
+++ b/stone/frontend/ir_generator.py
@@ -1074,7 +1074,7 @@
assert issubclass(data_type_class, DataType), \
'Expected stone.data_type.DataType, got %r' % data_type_class
- argspec = inspect.getargspec(data_type_class.__init__) # noqa: E501 # pylint: disable=deprecated-method,useless-suppression
+ argspec = inspect.getfullargspec(data_type_class.__init__)
argspec.args.remove('self')
num_args = len(argspec.args)
# Unfortunately, argspec.defaults is None if there are no defaults

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ceamac@gentoo.org</email>
<description>Primary maintainer</description>
</maintainer>
<upstream>
<remote-id type="github">dropbox/stone</remote-id>
<remote-id type="pypi">stone</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,37 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="The Official Api Spec Language for Dropbox"
HOMEPAGE="
https://www.dropbox.com/developers
https://github.com/dropbox/stone
https://pypi.org/project/stone/
"
SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="
>=dev-python/ply-3.4[${PYTHON_USEDEP}]
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}"/${P}-python3_11.patch )
distutils_enable_tests pytest
python_prepare_all() {
# Don't run tests via setup.py pytest
sed -i -e "/'pytest-runner .*',/d" setup.py || die
distutils-r1_python_prepare_all
}