botan-3.6.1
This commit is contained in:
+18
-24
@@ -2,36 +2,30 @@
|
|||||||
# -*- 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 shelltools
|
from pisi.actionsapi import pythonmodules, mesontools, pisitools
|
||||||
from pisi.actionsapi import autotools
|
|
||||||
from pisi.actionsapi import pisitools
|
i = ''.join([
|
||||||
from pisi.actionsapi import pythonmodules
|
' --prefix=/usr',
|
||||||
from pisi.actionsapi import get
|
' --with-{boost,bzip2,lzma,sqlite3,zlib}',
|
||||||
|
' --with-python-versions=3.12',
|
||||||
|
' --with-os-feature=getrandom',
|
||||||
|
' --disable-static-library',
|
||||||
|
' --build-tool=ninja',
|
||||||
|
' ',
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.makedirs("build")
|
pythonmodules.run("configure.py %s" % i, pyVer = "3")
|
||||||
shelltools.cd("build")
|
|
||||||
|
|
||||||
shelltools.system("../configure.py --prefix=/usr \
|
|
||||||
--with-bzip \
|
|
||||||
--with-lzma \
|
|
||||||
--with-zlib \
|
|
||||||
--with-boost \
|
|
||||||
--with-sqlite3 \
|
|
||||||
--with-os-feature=getrandom")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.cd("build")
|
mesontools.build("-C .")
|
||||||
autotools.make()
|
|
||||||
|
|
||||||
def check():
|
def check():
|
||||||
shelltools.cd("build")
|
mesontools.build("-C . check")
|
||||||
autotools.make("check")
|
|
||||||
#pass
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("build")
|
mesontools.install("-C .")
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
||||||
#pisitools.dodoc("COPYING*", "README")
|
pisitools.dodoc("license.txt", "doc/authors.txt", "doc/credits.rst")
|
||||||
|
|||||||
+27
-22
@@ -8,58 +8,63 @@
|
|||||||
<Name>Kamil Atlı</Name>
|
<Name>Kamil Atlı</Name>
|
||||||
<Email>suvari@pisilinux.org</Email>
|
<Email>suvari@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>BSD</License>
|
<License>BSD-2-Clause</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Icon>botan</Icon>
|
<Icon>botan</Icon>
|
||||||
<Summary>Cryptography Toolkit</Summary>
|
<Summary>A C++ cryptography library.</Summary>
|
||||||
<Description>Crypto library written in C++</Description>
|
<Description>Crypto and TLS for Modern C++.</Description>
|
||||||
<Archive sha1sum="4f9383395360898d7a29ed2c1b42e81e52704aa4" type="tarxz">https://botan.randombit.net/releases/Botan-3.2.0.tar.xz</Archive>
|
<Archive sha1sum="e920c3531fa2daf7348e1a668bfdc0f446e10c8b" type="tarxz">
|
||||||
|
https://botan.randombit.net/releases/Botan-3.6.1.tar.xz
|
||||||
|
</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>bzip2</Dependency>
|
<Dependency>bzip2</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>docutils</Dependency>
|
||||||
<Dependency>xz-devel</Dependency>
|
<Dependency>xz-devel</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
<Dependency>boost-devel</Dependency>
|
<Dependency>boost-devel</Dependency>
|
||||||
<Dependency>sqlite-devel</Dependency>
|
<Dependency>sqlite-devel</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<!--Patches>
|
<Patches>
|
||||||
<Patch></Patch>
|
<!-- <Patch level="1"></Patch> -->
|
||||||
</Patches-->
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>botan</Name>
|
<Name>botan</Name>
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>xz</Dependency>
|
|
||||||
<Dependency>zlib</Dependency>
|
|
||||||
<Dependency>bzip2</Dependency>
|
|
||||||
<Dependency>boost</Dependency>
|
|
||||||
<Dependency>libgcc</Dependency>
|
|
||||||
<Dependency>sqlite</Dependency>
|
|
||||||
<Dependency>python3</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="data">/usr/share/doc</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="library">/usr/lib/python2.7/site-packages</Path>
|
<Path fileType="data">/usr/share</Path>
|
||||||
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
|
|
||||||
<Path fileType="library">/usr/lib/libbotan*</Path>
|
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>botan-devel</Name>
|
<Name>botan-devel</Name>
|
||||||
<Summary>Development files for botan</Summary>
|
<PartOf>runtime.header</PartOf>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
|
<Dependency>xz-devel</Dependency>
|
||||||
|
<Dependency>zlib-devel</Dependency>
|
||||||
|
<Dependency>boost-devel</Dependency>
|
||||||
|
<Dependency>sqlite-devel</Dependency>
|
||||||
<Dependency release="current">botan</Dependency>
|
<Dependency release="current">botan</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2025-01-30</Date>
|
||||||
|
<Version>3.6.1</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2023-11-01</Date>
|
<Date>2023-11-01</Date>
|
||||||
<Version>3.2.0</Version>
|
<Version>3.2.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user