~sircmpwn/sr.ht-discuss

4 3

Creating AUR package from pip install.... perhaps off-topic

Details
Message ID
<20230410170259.f22f80246a5bf349bfd17638@posteo.net>
DKIM signature
missing
Download raw message
I created a pip package [https://pypi.org/project/cagen/]. Can someone help me how to create an AUR package?

I know this topic is perhaps outside the purpose of these mailing list. The only thing related to sr.ht is that I host the code here [https://sr.ht/~somenxavierb/cagen/].

I searched over internet and I cannot find any useful tutorial to create an arch AUR package by simply call `pip install <something>` command.

If anyone could help me, I will appreciate that.

Thanks in advance,
Xavier
Details
Message ID
<CRT8OLLP0VYG.3A20FZGZOPRFS@hades.moritz.sh>
In-Reply-To
<20230410170259.f22f80246a5bf349bfd17638@posteo.net> (view parent)
DKIM signature
missing
Download raw message
Hi Xavier,

by default python PKGBUILDs look a bit like this[0] and it's usually better to
download the sources directly as done in that PKGBUILD. That said I am not deep
enough in the Python landscape to be able to tell what exactly has to be
packaged, but going by your makefile it would probably have to be built and then
stored in the appropriate subdirectory. Hope that helps :)

[0]: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-vdf
-- 
Moritz Poldrack
https://moritz.sh
Details
Message ID
<CRT97GY555V2.XE1IXLQJ5VD8@taiga>
In-Reply-To
<CRT8OLLP0VYG.3A20FZGZOPRFS@hades.moritz.sh> (view parent)
DKIM signature
missing
Download raw message
This is indeed off-topic for this mailing list, reach out to Arch Linux
for assistance instead.
Details
Message ID
<20230410174931.a702fb89e88d2ac0aab46a2e@posteo.net>
In-Reply-To
<CRT97GY555V2.XE1IXLQJ5VD8@taiga> (view parent)
DKIM signature
missing
Download raw message
On Mon, 10 Apr 2023 19:32:18 +0200
"Drew DeVault" <sir@cmpwn.com> ha escrit:

> This is indeed off-topic for this mailing list, reach out to Arch Linux
> for assistance instead.


Thanks, Moritz, for all. I will investigate it
@Drew, sorry for annoyance.

Xavier
Details
Message ID
<20230411220124.6bc5f7a8355c67b9348c09f9@posteo.net>
In-Reply-To
<20230410174931.a702fb89e88d2ac0aab46a2e@posteo.net> (view parent)
DKIM signature
missing
Download raw message
Just for soundness: finally I achieve it: https://git.sr.ht/~somenxavierb/cagen/tree/main/item/extras/PKGBUILD
If it could helps someone else.

Thread closed so.

On Mon, 10 Apr 2023 17:49:31 +0000
"Xavier B." <somenxavier@posteo.net> ha escrit:

> On Mon, 10 Apr 2023 19:32:18 +0200
> "Drew DeVault" <sir@cmpwn.com> ha escrit:
> 
> > This is indeed off-topic for this mailing list, reach out to Arch Linux
> > for assistance instead.
> 
> 
> Thanks, Moritz, for all. I will investigate it
> @Drew, sorry for annoyance.
> 
> Xavier
Reply to thread Export thread (mbox)