libusb1: new package for flowblade

This commit is contained in:
suvari
2026-02-22 16:06:43 +03:00
parent e190a39551
commit ea86cd2cdf
7 changed files with 361989 additions and 361777 deletions
@@ -0,0 +1,25 @@
#!/usr/bin/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def build():
pythonmodules.compile(pyVer="3")
shelltools.system("python3 setup.py build")
def check():
pass
#pythonmodules.run("setup.py test", pyVer="3")
#pythonmodules.run("test/run_all_unittests.py",pyVer="3")
#pythonmodules.run("test/run_examples_test.py",pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("COPYING*", "README*")
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libusb1</Name>
<Homepage>https://github.com/DiffSK/configobj</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPL2.1</License>
<IsA>library</IsA>
<Summary>Python ctype-based wrapper around libusb1</Summary>
<Description>usb1 module defines a few more functions and classes, which are otherwise not so convenient to call from Python: the event handling API needed by async API.</Description>
<Archive sha1sum="9fef5034aff52976bb9d7bb5346b41becc7dbd30" type="targz">https://github.com/vpelletier/python-libusb1/archive/refs/tags/3.3.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>libusb-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-build</Dependency>
<Dependency>python3-wheel</Dependency>
<Dependency>python3-installer</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libusb1</Name>
<RuntimeDependencies>
<Dependency>libusb</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*/site-packages</Path>
<Path fileType="doc">/usr/share/doc/libusb1</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-02-22</Date>
<Version>3.3.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>