python3-libsass new package

This commit is contained in:
Rmys
2024-11-28 19:51:09 +03:00
parent 380602303d
commit 0e20639d6a
7 changed files with 178 additions and 44 deletions
@@ -0,0 +1,19 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import python3modules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def build():
shelltools.system("export SYSTEM_SASS='1'")
python3modules.compile()
def install():
python3modules.install()
# pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-libsass</Name>
<Homepage>https://github.com/sass/libsass-python/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>app</IsA>
<Summary>Sass for Python: A straightforward binding of libsass for Python.</Summary>
<Description>Sass for Python: A straightforward binding of libsass for Python.</Description>
<Archive sha1sum="4d92c373cef848f3df7c3823a46537f1c30dcfc4" type="targz">https://files.pythonhosted.org/packages/79/b4/ab091585eaa77299558e3289ca206846aefc123fb320b5656ab2542c20ad/libsass-0.23.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>libsass-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>python3-libsass.patch</Patch>
<Patch level="1">python3-libsass.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>python3-libsass</Name>
<RuntimeDependencies>
<Dependency>libsass</Dependency>
<Dependency>python3-setuptools</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-11-28</Date>
<Version>0.23.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libsass-python3</Name>
<Summary xml:lang="tr">Sass for Python: A straightforward binding of libsass for Python.</Summary>
<Description xml:lang="tr">Sass for Python: A straightforward binding of libsass for Python.</Description>
</Source>
</PISI>