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

sys-apps/bleachbit-3.2.0_p20200308: upgraded to python3 #14902

Closed
wants to merge 1 commit into from

Conversation

lg188
Copy link
Contributor

@lg188 lg188 commented Mar 9, 2020

Bug: https://bugs.gentoo.org/711962
Signed-off-by: Lander Ghekiere lander.ghekiere@gmail.com

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @lg188
Areas affected: ebuilds
Packages affected: sys-apps/bleachbit

sys-apps/bleachbit: @tietzc, @gentoo/proxy-maint

Linked bugs

Bugs linked: 711962


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 assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Mar 9, 2020
Copy link
Contributor

@tietzc tietzc left a comment

Choose a reason for hiding this comment

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

Hi, I‘m the proxied maintainer. I was waiting for a release, but AFAIC you‘re free to bump to current upstream master so we have a version in the tree that works with Python3.


EAPI=7

PYTHON_COMPAT=( python3_6 )
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you test if it works with 3.7 and 3.8 as well?


PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE="sqlite(+)"
DISTUTILS_SINGLE_IMPL=1
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this if above is applicable.

$(python_gen_cond_dep '
dev-python/chardet[${PYTHON_MULTI_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
dev-python/scandir[${PYTHON_MULTI_USEDEP}]') "
Copy link
Contributor

Choose a reason for hiding this comment

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

scandir has been included in Python 3.5+. You can most likely drop it.

$(python_gen_cond_dep '
dev-python/chardet[${PYTHON_MULTI_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
dev-python/scandir[${PYTHON_MULTI_USEDEP}]') "
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nit. Please make this consistent with BDEPEND, i.e. move quotation mark to next line.

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

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

Upstream seems to have python tests enabled, could those be implemented in the ebuild? Allows checking compatibility of different python interpreters through testing really fast.

Also @tietzc's comments look solid.

Let us know if you have issues / confusion what exactly to do.

@lg188
Copy link
Contributor Author

lg188 commented Mar 14, 2020

I implemented most of the feedback in the ebuild and it's almost ready. Though I did get stuck during testing and haven't touched it since. Testing the different python version and making sure the dependencies are installed is a bit more confusing than I thought.

Also I have no idea how to add tests to ebuild so documentation of that is always welcome

Bug: https://bugs.gentoo.org/711962
Signed-off-by: Lander Ghekiere <lander.ghekiere@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-03-16 14:13 UTC
Newest commit scanned: e630fad
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#global
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-admin/rsyslog
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-admin/system-tools-backends
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-emulation/bochs
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-emulation/virtualbox-additions
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-emulation/virtualbox-guest-additions
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-emulation/virtualbox-modules
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-office/libreoffice-l10n
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-text/jo
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#app-text/webgen
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#dev-db/pgagent
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#dev-lang/rust
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#dev-libs/gjs
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#dev-python/genson
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#dev-util/jenkins-bin
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#mail-client/claws-mail
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#mail-mta/nullmailer
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#media-libs/mlt
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#media-tv/kodi
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-analyzer/zabbix
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-dns/avahi
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-dns/bind
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-dns/unbound
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-im/mattermost-desktop-bin
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-misc/openssh
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-misc/rabbitmq-server
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-proxy/dante
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-proxy/haproxy
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-wireless/tempestsdr
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#net-wireless/urh
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sci-libs/ceres-solver
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sci-libs/spqr
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sci-libs/suitesparse
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sci-libs/umfpack
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sys-apps/agedu
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sys-apps/coreutils
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sys-cluster/swift
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#sys-power/nut
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-apps/jekyll
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-apps/netbox
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-apps/trac
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-client/seamonkey
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-servers/nginx
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-servers/tomcat
https://qa-reports.gentoo.org/output/gentoo-ci/1e31548/output.html#www-servers/tornado

@tietzc
Copy link
Contributor

tietzc commented Mar 17, 2020

Thanks for addressing my concerns. In terms of tests: https://dev.gentoo.org/~mgorny/python-guide/distutils.html and recent commits in the Gentoo repo. Maybe @juippis can help further.

@lg188
Copy link
Contributor Author

lg188 commented Mar 24, 2020

Unfortunately due to some school situations, I won't be able to add tests to this in the near future.

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). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
5 participants