scons 4 only py3.

This commit is contained in:
4fury-c3440d8
2021-10-23 00:14:49 +03:00
parent abb035a8d7
commit 1a2fa7c9fb
2 changed files with 23 additions and 15 deletions
+9 -8
View File
@@ -2,19 +2,20 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def setup():
# no install man pages into data dir.
pisitools.dosed("setup.cfg", ",\ \*.1", "")
pisitools.dosed("setup.cfg", "1$", deleteLine = True)
def build():
pisitools.dosed("script/*", "/usr/bin/env python", "/usr/bin/python")
pythonmodules.compile()
pythonmodules.compile(pyVer = "3")
def install():
pythonmodules.install("--no-version-script \
--standalone-lib \
--install-scripts=/usr/bin \
--install-data=/usr/share")
pythonmodules.install("--install-scripts=/usr/bin --install-data=/usr/share", pyVer = "3")
pisitools.dodoc("CHANGES*", "LICENSE*", "README*", "RELEASE*")
pisitools.doman("scons.1", "scons-time.1", "sconsign.1")
+14 -7
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>scons</Name>
<Homepage>http://www.scons.org</Homepage>
<Homepage>https://www.scons.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
@@ -12,20 +12,20 @@
<IsA>app:console</IsA>
<Summary>An Open Source software construction tool</Summary>
<Description>Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache.</Description>
<Archive sha1sum="d7541717d503266b37004a33246b6688fe87dec0" type="targz">mirrors://sourceforge/scons/scons-3.1.2.tar.gz</Archive>
<Archive sha1sum="d376f35a56da4076b05a5c7c6830828296a03ff4" type="targz">mirrors://sourceforge/scons/scons-4.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python</Dependency>
<Dependency>python3</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">scons-1.0.0-qt-handle-missing-moc-files.patch</Patch>
<Patch level="1">fix-gnu-link-handling.patch</Patch-->
<!-- <Patch level="1">missing.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>scons</Name>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -36,6 +36,13 @@
</Package>
<History>
<Update release="6">
<Date>2021-10-22</Date>
<Version>4.2.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="5">
<Date>2020-12-09</Date>
<Version>3.1.2</Version>