serf rebuild new scons.

This commit is contained in:
4fury-c3440d8
2021-10-23 00:39:51 +03:00
parent 51b27d87e8
commit e4bb83fb74
4 changed files with 38 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# -*- 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 pisitools
from pisi.actionsapi import scons
@@ -0,0 +1,24 @@
--- serf-1.3.9/SConstruct.orig 2019-07-26 17:49:30.910189251 +0000
+++ serf-1.3.9/SConstruct 2019-07-26 17:49:54.073821735 +0000
@@ -163,9 +163,9 @@
suffix='.def', src_suffix='.h')
})
-match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
- 'SERF_MINOR_VERSION ([0-9]+).*'
- 'SERF_PATCH_VERSION ([0-9]+)',
+match = re.search(b'SERF_MAJOR_VERSION ([0-9]+).*'
+ b'SERF_MINOR_VERSION ([0-9]+).*'
+ b'SERF_PATCH_VERSION ([0-9]+)',
env.File('serf.h').get_contents(),
re.DOTALL)
MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
@@ -183,7 +183,7 @@
unknown = opts.UnknownVariables()
if unknown:
- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
+ print ('Warning: Used unknown variables:', ', '.join(unknown.keys()))
apr = str(env['APR'])
apu = str(env['APU'])
+12 -2
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>serf</Name>
<Homepage>https://code.google.com/p/serf/</Homepage>
<Homepage>https://serf.apache.org/</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
@@ -22,6 +22,9 @@
<Dependency>apr-util-devel</Dependency>
<Dependency>scons</Dependency>
</BuildDependencies>
<Patches>
<Patch>scons_py3.patch</Patch>
</Patches>
</Source>
<Package>
@@ -54,6 +57,13 @@
</Package>
<History>
<Update release="6">
<Date>2021-10-22</Date>
<Version>1.3.9</Version>
<Comment>Rebuild</Comment>
<Name>İdris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="5">
<Date>2020-02-26</Date>
<Version>1.3.9</Version>
+1 -1
View File
@@ -10,4 +10,4 @@
<Name>serf-devel</Name>
<Summary xml:lang="tr">serf için geliştirme dosyaları</Summary>
</Package>
</PISI>
</PISI>