Compare commits

..
Author SHA1 Message Date
sisungo a14d1e6ea0 feat: add package MarkupSafe-py
Signed-off-by: sisungo <[email protected]>
2026-08-16 10:19:55 +08:00
2 changed files with 22 additions and 31 deletions
+22
View File
@@ -0,0 +1,22 @@
from lib.make import *
from lib import python
python.version("3.0.3")
description("Safely add untrusted strings to HTML/XML markup.")
maintainer("sisungo <[email protected]>")
source_url("https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz")
python.builddep("$shortcut")
def build():
python.build()
python.install()
on_build(build)
package("MarkupSafe.py")
python.dep("python")
python.use_auto_pack()
-31
View File
@@ -1,31 +0,0 @@
from lib import arch, cpp
from lib.make import *
version("2.15.3")
description("an XML toolkit implemented in C, originally developed for the GNOME Project")
maintainer("sisungo <[email protected]>")
source_url("https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.3.tar.xz")
builddep("shortcut/autotools")
builddep("shortcut/cmake")
def build():
cpp.configure([
f"--libdir={get_prefix('libxml2')}/lib",
f"--includedir={get_prefix('libxml2-dev')}/include",
])
cpp.make()
cpp.make_install()
on_build(build)
package("libxml2")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["lib"])
package("libxml2-dev")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["dev"])