python3-magic new package

This commit is contained in:
Rmys
2024-11-26 17:12:51 +03:00
parent cfbc85f41f
commit 3b71da6fbd
7 changed files with 705 additions and 176 deletions
+630 -174
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
7fa0f9946003e4a0532291180dc6a46ac9b11296
7a80210668d2360afe2a430d28e2f81190c1594c
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
bd2297050749bf47ae00da44a2bd853b17b4de54
5a5fb1ef6a41f604e9c91b1076d443ef65baa0bb
@@ -0,0 +1,16 @@
#!/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
def build():
python3modules.compile()
def install():
python3modules.install()
# pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,49 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-magic</Name>
<Homepage>https://github.com/ahupp/python-magic/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>app</IsA>
<Summary>A python wrapper for libmagic</Summary>
<Description>A python wrapper for libmagic</Description>
<Archive sha1sum="9d8ac60f3480d7f7427daf3b3ef6de5eb0e5b94e" type="targz">https://github.com/ahupp/python-magic/archive/refs/tags/0.4.27.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-build</Dependency>
<Dependency>python3-pytest</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>python3-magic.patch</Patch>
<Patch level="1">python3-magic.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>python3-magic</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<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-26</Date>
<Version>0.4.27</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>python3-magic</Name>
<Summary xml:lang="tr">A python wrapper for libmagic</Summary>
<Description xml:lang="tr">A python wrapper for libmagic</Description>
</Source>
</PISI>