diff --git a/packages/yeethon/3.10.0/build.sh b/packages/yeethon/3.10.0/build.sh new file mode 100755 index 0000000..4eddcf6 --- /dev/null +++ b/packages/yeethon/3.10.0/build.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +PREFIX=$(realpath $(dirname $0)) + +mkdir -p build + +cd build + +git clone https://github.com/Yeethon/cyeethon +cd cyeethon + +# Building and installing yeethon +./configure --prefix "$PREFIX" --with-ensurepip=install +make -j$(nproc) +make install -j$(nproc) + +# Cleaning up +cd ../../ && rm -rf build + +# This is alpha version of python, hence most of the libraries are not compatible with python3.10.0 +# As a result, they will not be compatible with yeethon3.10 too +# bin/pip3 install numpy scipy pandas pycrypto whoosh bcrypt passlib diff --git a/packages/yeethon/3.10.0/environment b/packages/yeethon/3.10.0/environment new file mode 100644 index 0000000..c6ab089 --- /dev/null +++ b/packages/yeethon/3.10.0/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/yeethon/3.10.0/metadata.json b/packages/yeethon/3.10.0/metadata.json new file mode 100644 index 0000000..4c48ea1 --- /dev/null +++ b/packages/yeethon/3.10.0/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "yeethon", + "version": "3.10.0", + "aliases": ["yeethon3"] +} diff --git a/packages/yeethon/3.10.0/run b/packages/yeethon/3.10.0/run new file mode 100644 index 0000000..ff60df2 --- /dev/null +++ b/packages/yeethon/3.10.0/run @@ -0,0 +1,3 @@ +#!/bin/bash + +python3.10 "$@" \ No newline at end of file diff --git a/packages/yeethon/3.10.0/test.yeethon.py b/packages/yeethon/3.10.0/test.yeethon.py new file mode 100644 index 0000000..2c93714 --- /dev/null +++ b/packages/yeethon/3.10.0/test.yeethon.py @@ -0,0 +1,3 @@ +li = ["N", "o", "t", "o", "k"] +yeet li[:3] +print(''.join(x.title() for x in li))