scons 4 only py3.
This commit is contained in:
@@ -2,19 +2,20 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# 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 pythonmodules
|
||||||
from pisi.actionsapi import pisitools
|
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():
|
def build():
|
||||||
pisitools.dosed("script/*", "/usr/bin/env python", "/usr/bin/python")
|
pythonmodules.compile(pyVer = "3")
|
||||||
pythonmodules.compile()
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
pythonmodules.install("--no-version-script \
|
pythonmodules.install("--install-scripts=/usr/bin --install-data=/usr/share", pyVer = "3")
|
||||||
--standalone-lib \
|
|
||||||
--install-scripts=/usr/bin \
|
|
||||||
--install-data=/usr/share")
|
|
||||||
|
|
||||||
pisitools.dodoc("CHANGES*", "LICENSE*", "README*", "RELEASE*")
|
pisitools.doman("scons.1", "scons-time.1", "sconsign.1")
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" ?>
|
<?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>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>scons</Name>
|
<Name>scons</Name>
|
||||||
<Homepage>http://www.scons.org</Homepage>
|
<Homepage>https://www.scons.org/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
@@ -12,20 +12,20 @@
|
|||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>An Open Source software construction tool</Summary>
|
<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>
|
<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>
|
<BuildDependencies>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python3</Dependency>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!--Patch level="1">scons-1.0.0-qt-handle-missing-moc-files.patch</Patch>
|
<!-- <Patch level="1">missing.patch</Patch> -->
|
||||||
<Patch level="1">fix-gnu-link-handling.patch</Patch-->
|
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>scons</Name>
|
<Name>scons</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python3</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
@@ -36,6 +36,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="5">
|
||||||
<Date>2020-12-09</Date>
|
<Date>2020-12-09</Date>
|
||||||
<Version>3.1.2</Version>
|
<Version>3.1.2</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user