From 240b7fb6d2881b3236b94a38fed2324af59b3aec Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 17 Jan 2018 13:43:55 +0100 Subject: [PATCH 1/3] Python3: Remove --- Python3-3.3.0-0.bee | 74 --------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100755 Python3-3.3.0-0.bee diff --git a/Python3-3.3.0-0.bee b/Python3-3.3.0-0.bee deleted file mode 100755 index b9acd7ee4..000000000 --- a/Python3-3.3.0-0.bee +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env beesh - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="http://www.python.org/ftp/python/${PKGVERSION}/Python-${PKGVERSION}.tar.xz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - -# PATCHURL+=() - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - -# build_in_sourcedir - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -#mee_configure() { -# bee_configure -#} - -#mee_build() { -# bee_build -#} - -#mee_install() { -# bee_install -#} -## by default this may be 'make install DESTDIR="${D}"' - -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## From c9abb975764e3ce5f37e2216fa933a049e9c04ad Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 17 Jan 2018 16:16:01 +0100 Subject: [PATCH 2/3] Python3: Remove relict packages --- matplotlib_python3.3-1.2.0-0.bee | 76 ------------------------------- numpy_python3.3-1.7.0b2-0.bee | 77 -------------------------------- 2 files changed, 153 deletions(-) delete mode 100755 matplotlib_python3.3-1.2.0-0.bee delete mode 100755 numpy_python3.3-1.7.0b2-0.bee diff --git a/matplotlib_python3.3-1.2.0-0.bee b/matplotlib_python3.3-1.2.0-0.bee deleted file mode 100755 index ceb13c2f1..000000000 --- a/matplotlib_python3.3-1.2.0-0.bee +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env beesh - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="https://github.com/downloads/matplotlib/matplotlib/matplotlib-${PKGVERSION}.tar.gz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - -# PATCHURL+=() - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - -# build_in_sourcedir - -export PYTHON=${PKGEXTRANAME} - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -#mee_configure() { -# bee_configure -#} - -#mee_build() { -# bee_build -#} - -#mee_install() { -# bee_install -#} -## by default this may be 'make install DESTDIR="${D}"' - -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## diff --git a/numpy_python3.3-1.7.0b2-0.bee b/numpy_python3.3-1.7.0b2-0.bee deleted file mode 100755 index c9faf6a5b..000000000 --- a/numpy_python3.3-1.7.0b2-0.bee +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/env beesh - -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. - -SRCURL[0]="http://downloads.sourceforge.net/project/numpy/NumPy/${PKGVERSION}/numpy-${PKGVERSION}.tar.gz" - -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - -# PATCHURL+=() - -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be build -## outside the source directory and need to be build inside the source -## directory. - -# build_in_sourcedir - -# which python to use to build this module is encoded in PKGEXTRANAME -export PYTHON=${PKGEXTRANAME} - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -#mee_configure() { -# bee_configure -#} - -mee_build() { - bee_build --fcompiler=gnu95 -} - -#mee_install() { -# bee_install -#} -## by default this may be 'make install DESTDIR="${D}"' - -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0]="" is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## From fd6245b0d1e81543e962be82ecb7f97f708b4be5 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 17 Jan 2018 14:36:59 +0100 Subject: [PATCH 3/3] python3-wrapper: Add version 1.0 --- python3-wrapper.be0 | 106 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100755 python3-wrapper.be0 diff --git a/python3-wrapper.be0 b/python3-wrapper.be0 new file mode 100755 index 000000000..105ceaa86 --- /dev/null +++ b/python3-wrapper.be0 @@ -0,0 +1,106 @@ +#!/usr/bin/env beesh + +# BEE_VERSION python3-wrapper-1.0-0 + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Add filename patterns to the EXCLUDE array of files that should not +## be added to you package but may be present in the image directory. + +# EXCLUDE+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +# build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + echo -e '#! /bin/bash\nprun python3 "$(basename "$0")" "$@"' >wrapper + chmod +x wrapper +} + +create_bin_wrapper() { + cmd="$1" + target="$2" + if [ -z "$target" ]; then + ln "$B/wrapper" "$D$BINDIR/$cmd" + else + echo -e '#! /bin/bash\nprun python3 "$target" "$@"' > "$D$BINDIR/$cmd" + chmod +x "$D$BINDIR/$cmd" + fi +} + +mee_install() { + mkdir -p "$D$BINDIR" + create_bin_wrapper 2to3 + create_bin_wrapper idle3 + create_bin_wrapper pydoc3 + create_bin_wrapper python3-config + create_bin_wrapper python3 + create_bin_wrapper pyenv3 pyenv-3.3 + + create_bin_wrapper ipython3 + create_bin_wrapper meson +} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +##