Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-editors/retext: add 8.0.0, drop 7.2.2, update 9999 and add myself as maintainer #29070

Closed
wants to merge 4 commits into from

Conversation

rndxelement
Copy link
Contributor

  • >=app-editors/retext-8.0.0 now uses PyQt6 and PyQt6-WebEngine, see changelog
  • I tried switching to DISTUTILS_USE_PEP517=setuptools but the software seems to be non-PEP517 (got several warnings that parts are skipped during compilation and the .desktop file doesn't get installed properly)
  • Tested with USE=test and also with the optional PyQt6-WebEngine; seems to work fine
  • I added >=app-editors/retext-8.0.0 alphabetically to the package.mask file

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @rndxelement
Areas affected: ebuilds, profiles
Packages affected: app-editors/retext

app-editors/retext: @gentoo/proxy-maint (maintainer needed)

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added maintainer-needed There is at least one affected package with no maintainer. Review it if you can. assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Jan 11, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-01-11 22:38 UTC
Newest commit scanned: 134b7c1
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/8fef37beac/output.html


pkg_setup() {
# Needed for lrelease
export PATH="$(qt5_get_bindir):${PATH}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the eclass isn't updated for qt6 yet, but will this work? Does this do what it's supposed to do?

That function itself is pretty simple to one-line outside the eclass if you just manually define it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replacing it by export PATH="${EPREFIX}/usr/$(get_libdir)/qt6/bin:${PATH}" doesn't work unfortunately, because it needs the tool lrelease for translations from dev-qt/linguist-tools and the latest version in the tree is 5.15.8, so not qt6 compatible yet.
Using the above replacement results in Failed to build translations: [Errno 2] No such file or directory: 'lrelease' (no build failure though, it continues and finishes the build).
Interestingly, it seems to work with the qt5 binding, because using export PATH="$(qt5_get_bindir):${PATH}" results in no error. I couldn't test yet if the translations actually work even with the qt5 lrelease tool.

Maybe we can leave it as it is now, file a version bump bug for dev-qt/linguist-tools and a bug for app-editors/retext that depends on the version bump bug. What do you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well if it works :) But it sounds logical that an executable or headers don't need to be updated like libs.

}

python_test() {
eunittest || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably doesn't need to || die here, but remind me again is this added due to the virtx call above? I believe you can just call virtx eunittest too and it should work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

virtx eunittest works like a charm, thanks!

From version 8.0.0 ReText uses PyQt6 and optionally
PyQt6-WebEngine, therefore mask >=app-editors/retext-8.0.0
since dev-python/PyQt6 is also masked.

Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-01-26 21:53 UTC
Newest commit scanned: 881c7e5
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/8f0b8e77d9/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-01-26 22:13 UTC
Newest commit scanned: b9e4015
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/94ef8ef197/output.html


pkg_setup() {
# Needed for lrelease
export PATH="$(qt5_get_bindir):${PATH}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well if it works :) But it sounds logical that an executable or headers don't need to be updated like libs.

@juippis
Copy link
Member

juippis commented Jan 28, 2023

Could you fix this when you have some time?

app-editors/retext
  DistutilsNonPEP517Build: version 7.2.3: uses deprecated non-PEP517 build mode, please switch to DISTUTILS_USE_PEP517=...
  DistutilsNonPEP517Build: version 8.0.0: uses deprecated non-PEP517 build mode, please switch to DISTUTILS_USE_PEP517=...
  DistutilsNonPEP517Build: version 9999: uses deprecated non-PEP517 build mode, please switch to DISTUTILS_USE_PEP517=...

https://projects.gentoo.org/python/guide/distutils.html#the-pep-517-and-legacy-modes

freijon pushed a commit to freijon/gentoo that referenced this pull request Jan 31, 2023
Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
Closes: gentoo#29070
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). maintainer-needed There is at least one affected package with no maintainer. Review it if you can. no bug found No Bug/Closes found in the commits.
Projects
None yet
4 participants