Skip to content
Snippets Groups Projects
Commit fbe9859d authored by nd's avatar nd
Browse files

add debian packaging

parent 9c95801c
No related branches found
No related tags found
1 merge request!1add debian packaging
......@@ -10,7 +10,7 @@ build-docs:
- docs/_build/html
expose_as: 'Documentation'
publish:
publish-pip:
stage: deploy
image: python:3.7
script:
......@@ -19,3 +19,18 @@ publish:
- python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
rules:
- if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/'
publish-apt:
image: debian:buster
stage: deploy
script:
- apt update
- apt-get install -y python3-all debhelper python3-pip git-buildpackage
- gbp dch --ignore-branch --debian-tag=v%\(version\)s
- dpkg-buildpackage -us -uc
- mkdir build
- mv ../*.deb build/
artifacts:
paths:
- build/*
- debian/changelog
python3-ldapserver (0.0.1.dev0) unstable; urgency=medium
* Initial release.
-- Andreas Valder <nd@cccv.de> Fri, 23 Jul 2021 18:02:31 +0200
Source: python3-ldapserver
Section: python
Priority: optional
Maintainer: Andreas Valder <nd@cccv.de>
Build-Depends:
debhelper-compat (= 12),
dh-python,
python3-all,
python3-setuptools,
Standards-Version: 4.5.0
Homepage: https://git.cccv.de/uffd/python-ldapserver
Vcs-Git: https://git.cccv.de/uffd/python-ldapserver.git
Package: python3-ldapserver
Architecture: any
Depends:
${misc:Depends},
${python3:Depends},
Description: LDAP server request handler
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=ldapserver
%:
dh $@ --with python3 --buildsystem pybuild
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment