Name libpwquality1
Description library for password quality checking and generation
Version 1.4.5-5
Package Base libpwquality
Homepage https://github.com/libpwquality/libpwquality
Maintainers ['Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>']
Contributors ['Iain Lane <laney@debian.org>', 'Jeremy BĂ­cha <jbicha@ubuntu.com>', 'Laurent Bigonville <bigon@debian.org>', 'Michael Biebl <biebl@debian.org>']
Distro-repo https://salsa.debian.org/gnome-team/libpwquality
Sources ['https://sources.debian.org/data/main/libp/libpwquality/1.4.5-5/debian/watch', 'https://sources.debian.org/src/libpwquality/1.4.5-5/debian/patches/Makefile.am-respect-PYTHONSITEDIR.patch', 'https://sources.debian.org/src/libpwquality/1.4.5-5/debian/patches/Use-setuptools-instead-of-distutils.patch', 'https://sources.debian.org/src/libpwquality/1.4.5-5/debian/patches/series']
Dependencies ['libc6', 'libcrack2', 'libpwquality-common']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-sequence-gnome', 'dh-sequence-python3', 'libcrack2-dev', 'libpam0g-dev', 'libpython3-dev', 'python3-dev', 'python3-setuptools']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 95a68fdd6edbc942799fdc5ae5e206b6d5cc2842bfc2903d8d11361c9bc4bb7b
#!/usr/bin/make -f

PYVER := $(shell py3versions -d)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
export DEB_PYTHON_INSTALL_LAYOUT = deb

ifneq ($(DEB_BUILD_MULTIARCH),$(DEB_HOST_MULTIARCH))
export _PYTHON_HOST_PLATFORM = $(DEB_HOST_GNU_CPU)
export _PYTHON_SYSCONFIGDATA_NAME = $(shell basename -s .py /usr/lib/$(PYVER)/_sysconfigdata__*_$(DEB_HOST_MULTIARCH).py)
endif

%:
	dh $@

execute_after_dh_clean:
	rm -rf python/build

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-securedir=/usr/lib/$(DEB_HOST_MULTIARCH)/security \
		--with-python-binary=python3 \
		--with-python-rev=$(subst python,,$(PYVER)) \
		--with-pythonsitedir=/usr/lib/$(PYVER)/dist-packages/

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

override_dh_gnome_clean: