Compare commits

...

4 Commits

Author SHA1 Message Date
a49d3283e9 Test da branch selector
All checks were successful
ci/woodpecker/tag/drone Pipeline was successful
2022-02-13 21:19:41 +01:00
cef3feefb9 Update 'README.md' 2022-01-31 13:55:51 +01:00
c6c276c67d trololol
All checks were successful
continuous-integration/drone the build was successful
2021-09-29 02:56:38 +02:00
762a37e435 lol§
All checks were successful
continuous-integration/drone the build was successful
2021-09-24 01:27:06 +02:00
3 changed files with 9 additions and 6 deletions

View File

@ -15,8 +15,10 @@ pipeline:
image: debian
pull: true
commands:
- apt update && apt install -y build-essential fakeroot devscripts
- apt update && apt install -y build-essential fakeroot devscripts wget
- make package
- ls -la
when:
event: tag
branches: master

View File

@ -6,7 +6,7 @@ SOURCE := https://www.python.org/ftp/python/$(UPSTREAM_VERSION)/python-$(UPSTREA
CHECKSUM := efb20aa1b648a2baddd949c142d6eb06
## Download Link and Checksums can be found on https://www.python.org/downloads/windows/
#Automatically set variables
#Variables below are set automatically
PKG_FULL_VERSION := $(UPSTREAM_VERSION)-$(PKG_SUB_RELEASE)
DEB_CHANGELOG_VERSION := $(shell dpkg-parsechangelog -S Version | sed -rne 's|((-*[^-]+)+)(-[^-]+)|\1|p')
DEB_ORIG_FILE := $(PKGNAME)_$(PKG_FULL_VERSION).orig.tar.gz
@ -42,7 +42,7 @@ setversion:
-e "s/^packageVersion: [0-9]\{1,3\}\.[0-9]\{1,3\}$$/packageVersion: $(PKG_SUB_RELEASE)/" \
-i control
check-before-package:
package-check:
@if [ "$(DEB_CHANGELOG_VERSION)" != "$(PKG_FULL_VERSION)" ]; then \
echo "Mismatch between debian changelog file and Makefile version"; \
echo "Debian changelog version: $(DEB_CHANGELOG_VERSION)"; \
@ -50,10 +50,10 @@ check-before-package:
exit 1; \
fi
package: check-before-package
tar cavzf ../mdg-test_3.9.2-1.0.orig.tar.gz --exclude="debian" --exclude="**/.*" .
package: package-check
tar cavzf ../$(DEB_ORIG_FILE) --exclude="debian" --exclude="**/.*" .
debuild -us -uc --diff-ignore="\.\S+" -I
.PHONY: default all download install uninstall clean setversion check-berfore-package package
.PHONY: default all download install uninstall clean setversion package-check package

View File

@ -1,3 +1,4 @@
![status-badge](https://drone.mdg-hamburg.de/api/badges/kevin.dorner/CI-Test/status.svg)
# mdg-python
A better Python for Windows OPSI package aimed to work with IServ