Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-ldapserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uffd
python-ldapserver
Commits
fbe9859d
Commit
fbe9859d
authored
Jul 23, 2021
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
add debian packaging
parent
9c95801c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1
add debian packaging
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+16
-1
16 additions, 1 deletion
.gitlab-ci.yml
debian/changelog
+5
-0
5 additions, 0 deletions
debian/changelog
debian/control
+19
-0
19 additions, 0 deletions
debian/control
debian/rules
+7
-0
7 additions, 0 deletions
debian/rules
with
47 additions
and
1 deletion
.gitlab-ci.yml
+
16
−
1
View file @
fbe9859d
...
...
@@ -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
This diff is collapsed.
Click to expand it.
debian/changelog
0 → 100644
+
5
−
0
View file @
fbe9859d
python3-ldapserver (0.0.1.dev0) unstable; urgency=medium
* Initial release.
-- Andreas Valder <nd@cccv.de> Fri, 23 Jul 2021 18:02:31 +0200
This diff is collapsed.
Click to expand it.
debian/control
0 → 100644
+
19
−
0
View file @
fbe9859d
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
This diff is collapsed.
Click to expand it.
debian/rules
0 → 100755
+
7
−
0
View file @
fbe9859d
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=ldapserver
%:
dh $@ --with python3 --buildsystem pybuild
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment