Name libbytesize-common
Description library for common operations with sizes in bytes - translations
Version 2.11-2
Package Base libbytesize
Homepage https://github.com/storaged-project/libbytesize
Maintainers ['Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>']
Contributors ['Martin Pitt <mpitt@debian.org>']
Distro-repo https://salsa.debian.org/utopia-team/libbytesize
Sources ['https://sources.debian.org/data/main/libb/libbytesize/2.11-2/debian/watch']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-sequence-python3', 'python3', 'libpcre2-dev', 'libgmp-dev', 'libmpfr-dev', 'gettext', 'libpython3-dev', 'libglib2.0-dev', 'gtk-doc-tools', 'locales-all <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 4e6a6640b24032fdb5c31ce2b061cd4eea039e0fab04e154c5ff62f8dba948c6
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_PYTHON_INSTALL_LAYOUT = deb

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-python3 \
		--without-tools

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=src/python/ LD_LIBRARY_PATH=src/.libs/ ./tests/libbytesize_unittest.sh
endif

execute_before_dh_install:
	find debian/tmp -name '*.la' -print -delete