From: "Ernst Sjöstrand" <ernstp@gmail.com>
To: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Cc: "bitbake-devel@lists.openembedded.org"
<bitbake-devel@lists.openembedded.org>
Subject: Re: [bitbake-devel] building python-inflect ?
Date: Wed, 5 Apr 2023 01:45:21 +0200 [thread overview]
Message-ID: <CAD=4a=VVXxX-OW2sSzsNaji8uqRsp15yxkYpgDZUgdwFqsK-qQ@mail.gmail.com> (raw)
In-Reply-To: <43210b1ce3260a74b29f28db3125aad206612ac9.camel@infinera.com>
I think you want to add
inherit python_setuptools_build_meta
Regards
//Ernst
Den tis 4 apr. 2023 kl 22:21 skrev Joakim Tjernlund
<Joakim.Tjernlund@infinera.com>:
>
> Trying to make a .bb for python-inflect, https://github.com/jaraco/inflect but this pkg
> does not have a setup.py, only a setup.cfg
>
> I do not speak python and cannot work out what to do, I got(can someone help me fill in the missing part?):
>
> SUMMARY = "A port of Ruby on Rails' inflection to Python."
> HOMEPAGE = "https://pypi.org/project/inflect"
> LICENSE = "MIT"
> SECTION = "devel/python"
> #LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
>
> SRC_URI[md5sum] = "e7aad8f161ee9c85c7d125af69ae661f"
> SRC_URI[sha256sum] = "f1a6bcb0105046f89619fde1a7d044c612c614c2d85ef182582d9dc9b86d309a"
>
> inherit pypi ptest
>
> SRC_URI +=" \
> file://run-ptest \
> "
> #DEPENDS = "python3-pydantic"
> RDEPENDS:${PN} = "python3-pydantic"
>
> RDEPENDS:${PN}_ptest +=" \
> ${PYTHON_PN}_pytest \
> "
>
> do_install_ptest() {
> cp -f ${S}/test_inflection.py ${D}${PTEST_PATH}/
> }
>
>
> RDEPENDS:${PN} += "${PYTHON_PN}-pytest"
>
> BBCLASSEXTEND = "native nativesdk"
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#14634): https://lists.openembedded.org/g/bitbake-devel/message/14634
> Mute This Topic: https://lists.openembedded.org/mt/98068636/4947266
> Group Owner: bitbake-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [ernstp@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2023-04-04 23:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-04 20:21 building python-inflect ? Joakim Tjernlund
2023-04-04 23:45 ` Ernst Sjöstrand [this message]
2023-04-05 9:09 ` [bitbake-devel] " Joakim Tjernlund
2023-04-05 10:20 ` Ernst Sjöstrand
2023-04-05 10:26 ` Joakim Tjernlund
[not found] ` <1752FECABD82DFDB.3977@lists.openembedded.org>
2023-04-05 9:46 ` Joakim Tjernlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD=4a=VVXxX-OW2sSzsNaji8uqRsp15yxkYpgDZUgdwFqsK-qQ@mail.gmail.com' \
--to=ernstp@gmail.com \
--cc=Joakim.Tjernlund@infinera.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).