Add pyblkid debian files

fixes2
Vadim vtroshchinskiy 2024-11-13 08:24:06 +01:00
parent 4f8991cfe0
commit 4e0f032611
6 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,5 @@
opengnsys-pyblkid (0.3) UNRELEASED; urgency=medium
* Initial release.
-- root <opengnsys@opengnsys.es> Tue, 12 Nov 2024 14:18:39 +0000

View File

@ -0,0 +1,25 @@
Source: opengnsys-pyblkid
Maintainer: OpenGnsys <opengnsys@opengnsys.org>
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-python,
libarchive-dev,
python3-all,
python3-mock,
python3-pytest,
python3-setuptools
Standards-Version: 4.5.0
Rules-Requires-Root: no
Homepage: https://github.com/vojtechtrefny/pyblkid
Vcs-Browser: https://github.com/vojtechtrefny/pyblkid
Vcs-Git: https://github.com/vojtechtrefny/pyblkid
Package: opengnsys-pyblkid
Architecture: all
Depends: ${lib:Depends}, ${misc:Depends}, ${python3:Depends}
Description: Python3 interface to pyblkid
Python bindings for libblkid library.
.
This package contains a Python3 interface to libarchive written using the
standard ctypes module to dynamically load and access the C library.

View File

@ -0,0 +1,2 @@
opengnsys-pyblkid_0.3_all.deb python optional
opengnsys-pyblkid_0.3_amd64.buildinfo python optional

View File

@ -0,0 +1,22 @@
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
export PYBUILD_NAME = libarchive-c
#export PYBUILD_BEFORE_TEST = cp -av README.rst {build_dir}
export PYBUILD_TEST_ARGS = -vv -s
#export PYBUILD_AFTER_TEST = rm -v {build_dir}/README.rst
# ./usr/lib/python3/dist-packages/libarchive/
export PYBUILD_INSTALL_ARGS=--install-lib=/opt/opengnsys/python3/dist-packages/
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_gencontrol:
dh_gencontrol -- \
-Vlib:Depends=$(shell dpkg-query -W -f '$${Depends}' libarchive-dev \
| sed -E 's/.*(libarchive[[:alnum:].-]+).*/\1/')
override_dh_installdocs:
# Nothing, we don't want docs
override_dh_installchangelogs:
# Nothing, we don't want the changelog

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,3 @@
version=3
https://pypi.python.org/simple/libarchive-c \
.*/libarchive-c-(.+)\.tar\.gz#.*