Compare commits

..
1 Commits
Author SHA1 Message Date
sisungo 9711728da6 feat: add package PyYAML
Signed-off-by: sisungo <[email protected]>
2026-08-16 09:38:46 +08:00
3 changed files with 23 additions and 30 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ def _depcommon(s: str):
if ")" in s:
return s.replace(")", f", +python{PY3_VERSION})")
else:
return s.replace(".py", f".py (+python{PY3_VERSION})")
return s.replace(".py", f" (+python{PY3_VERSION})")
else:
return None
-29
View File
@@ -1,29 +0,0 @@
import os
from lib.make import *
from lib import python
python.version("1.4.1")
description("A super-fast templating language that borrows the best ideas from the existing templating languages.")
maintainer("sisungo <[email protected]>")
source_url("https://files.pythonhosted.org/packages/2a/12/b5fa2353e2754cd67fb9f83793fa48ff42c213a5da7e719869d2301f6ab8/mako-1.4.1.tar.gz")
python.builddep("$shortcut")
python.builddep("MarkupSafe.py")
def build():
python.build()
python.install()
os.chdir("lib")
while len(os.listdir(".")) == 1:
os.chdir(os.listdir(".")[0])
on_build(build)
package("Mako.py")
python.dep("python")
python.dep("MarkupSafe.py")
python.use_auto_pack()
+22
View File
@@ -0,0 +1,22 @@
from lib.make import *
from lib import python
python.version("6.0.3")
description("YAML parser and emitter for Python")
maintainer("sisungo <[email protected]>")
source_url("https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz")
python.builddep("$shortcut")
def build():
python.build()
python.install()
on_build(build)
package("PyYAML.py")
python.dep("python")
python.use_auto_pack()