Skip to content

Commit

Permalink
python-is-python3: rework recipe
Browse files Browse the repository at this point in the history
- turn it into an allarch recipe, as there is clearly nothing specific
  to an architecture in it
- use install instead of mkdir, as mkdir uses user specific settings
- add a dummy 1.0 version to the recipe
- remove setting S, as it's not used anywhere

Signed-off-by: Konrad Weihmann <[email protected]>
  • Loading branch information
kwavnet authored and clopez committed Jun 6, 2023
1 parent 33da3bf commit b2156c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ DESCRIPTION = "Convenience package which ships a symlink to point the python int
LICENSE = "PSF-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/PSF-2.0;md5=76c1502273262a5ebefb50dfb20d7c4f"

S = "${WORKDIR}"
inherit allarch

do_install() {
mkdir -p ${D}/${bindir}
install -d ${D}/${bindir}
ln -sf python3 ${D}/${bindir}/python
}

Expand Down

0 comments on commit b2156c2

Please sign in to comment.