-
Notifications
You must be signed in to change notification settings - Fork 82
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
Official Gentoo repository #720
Comments
Doesn't Gentoo have a community repository to maintain such things like all the other notable Linux distros (OpenSUSE, Arch, nix, etc.)? I don't have any Gentoo experience and don't intend to acquire any, nor do I want to be responsible for maintaining something I have no experience with and do not plan on using. |
@FichteFoll As linked above there is some
it's not a community repository, but personal one, so if the author would drop it then somebody would need to recreate his own "personal" overlay or build a community around it to have a reasonable support. Having official repository is always better as basically it's dropped not sooner than the core project. A typical I don't remember a case when I was in need to add some dependency, because of update in I'm using both Contents of both |
Yes, I was asking whether no such thing exists like the AUR, but from asking around it doesn't seem like it does. I find this decentralized way of operation odd, but I personally wouldn't mind creating a new repository in a trackma-adjacent place and adding you as a contributor to it while not really interacting with it myself. However, I am just a collaborator on this project myself and @z411 would need to create either a new personal repo under his account or create a "trackma" organization to group the main and the gentoo-trackma repo, so I can't help further.
Incidentally, there was such a change just yesterday when I merged #683 and there will another one once #628 is done, so dependency changes do occur, but are limited to only a few per year at most. |
There is no one big repository like As you can see there
Oh, that's weird as Anyway, both
|
Most of trackma's dependencies are optional and only imported when you use them, most notably the UI libraries. Anyway, that was just FYI. |
Brilliant! If you decide to do so please ping me on initial PR with a complete list of all dependencies. I would make sure that all related distribution packages are listed together with their Helpful resource: Gentoo's USE flag index - it's a list of existing |
Dependencies are documented in the README and otherwise listed & grouped in our |
I'm just chiming in here as an interested party who maintains a personal Gentoo overlay that includes On 2024-06-01, Python 3.12 will become the default on Gentoo. Which is not supported yet by So it would be better to wait till that happens before adding this project to the Gentoo repository. |
@CodingOtaku Interesting … I have compiled |
There are no compile time errors, I use only the CLI version (with python/cpython#104212 could help to figure out how to migrate. Edit: This particular code is run only if you have hooks. |
@CodingOtaku Ok, so if we are going to crate a repository we would need to use one of the above option:
It's up to @z411 how he plans to support various $ equery l python
* Searching for python ...
[IP-] [ ] dev-lang/python-3.11.9:3.11
[IP-] [ ] dev-lang/python-3.12.3:3.12 $ eix dev-lang/python
[I] dev-lang/python
Available versions:
(2.7) 2.7.18_p16-r2^t
(3.8) 3.8.19_p1^t
(3.9) 3.9.19_p2^t
(3.10) 3.10.14_p1^t
(3.11) 3.11.9^t
(3.12) 3.12.3^t
(3.13) **3.13.0_alpha6^t ~3.13.0_beta1^t
{berkdb bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind verify-sig wininst +xml LLVM_SLOT="+16 +18"}
Installed versions: 3.11.9(3.11)^t(08:03:46 27.04.2024)(ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig) 3.12.3(3.12)^t(23:27:25 11.04.2024)(ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig)
Homepage: https://www.python.org/ https://github.com/python/cpython/
Description: An interpreted, interactive, object-oriented programming language The news about making Another thing we can use is
I do not see why we should wait for that … I could understand any other distribution, but |
Trackma not supporting Python 3.12 (when hooks are involved) is an entirely separate issue and something that I can fix myself when I find the time. It's tracked in #736. (I use trackma CLI on Python 3.12 without issues, but I also don't use hooks.) |
I'm using 6937663 to fix the issue |
Hi,
I found that
trackma
's latest version available forGentoo
is0.8.5-r1
and it's a part of kzd overlay. Since creating aGentoo
repository is very simple (I did it locally in "5 min") could you please consider maintaining such repository?Here is how simple it looks like:
sudo eselect repository create z411
/var/db/repos/z411/net-misc/trackma
metadata.xml
andtrackma-0.8.6.ebuild
in newly created directorysudo pkgdev manifest
Here is a
metadata.xml
contents:and here is a
trackma-0.8.6.ebuild
contents:Here are some notes:
\t
instead of 2 spaces. This is a "proper" format forGentoo
.pkgcheck scan
to verify your repositoryPV
(project version i.e. a version in*.ebuild
file name). This means that when you release a newtrackma
version all you have to do is to call a simple copy and regenerate manifest command as described above.Most of the code here you need to "maintain" are static data in
metadata.xml
or a dependencies related. The rest of code is based ondesktop
anddistutils-r1
inherited features withpoetry
in a variable calledDISTUTILS_USE_PEP517
. As long as you would not add more dependencies to project you don't have to even touch those already prepared files!Adding a custom remote repository is also simple. All what
Gentoo
users have to do is to add it asroot
using:Installation on
Gentoo
is simple and easily customizable:All mentioned commands comes from app-eselect/eselect-repository, dev-util/pkgcheck and dev-util/pkgdev packages. You can find more information in the official documentation Creating an ebuild repository.
I guess in
99%
cases you can simply do it fromCI
. Let me know if I have missed something or if you have any questions.The text was updated successfully, but these errors were encountered: