Skip to content

Commit

Permalink
dev-python/qasync: add qt6, update metadata
Browse files Browse the repository at this point in the history
Signed-off-by: liuyujielol <[email protected]>
  • Loading branch information
liuyujielol authored and liangyongxiang committed Nov 8, 2023
1 parent 8ef3605 commit f6b715f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/overlay.toml
Original file line number Diff line number Diff line change
Expand Up @@ -469,10 +469,8 @@ prefix = "v"
github_account = "CHN-beta"

["dev-python/qasync"]
source = "github"
github = "CabbageDevelopment/qasync"
use_latest_tag = true
prefix = "v"
source = "pypi"
pypi = "qasync"
github_account = "wgjak47"

["dev-python/structlog"]
Expand Down
3 changes: 3 additions & 0 deletions dev-python/qasync/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="qt6">Use dev-python/PyQt6 or dev-python/pyside6 for qt6 support</flag>
</use>
<upstream>
<remote-id type="github">CabbageDevelopment/qasync</remote-id>
<remote-id type="pypi">qasync</remote-id>
Expand Down
13 changes: 12 additions & 1 deletion dev-python/qasync/qasync-0.26.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,20 @@ HOMEPAGE="https://github.com/CabbageDevelopment/qasync"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="qt6"

RDEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
|| (
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/pyside2[${PYTHON_USEDEP}]
)
qt6? (
|| (
dev-python/PyQt6[${PYTHON_USEDEP}]
dev-python/pyside6[${PYTHON_USEDEP}]
)
)
"

DEPEND="
Expand Down

0 comments on commit f6b715f

Please sign in to comment.