| 1 |
|
| 2 |
include /usr/share/dpkg/pkg-info.mk |
| 3 |
|
| 4 |
DEBVERSscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEBVERS. ?= $(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. dpkg-parsechangelog -SVersion) |
| 5 |
VERSIONscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/VERSION. ?= $(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//') |
| 6 |
DEBFLAVORscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEBFLAVOR. ?= $(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. dpkg-parsechangelog -SDistribution) |
| 7 |
DEBPKGNAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEBPKGNAME. ?= $(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. dpkg-parsechangelog -SSource) |
| 8 |
UPSTREAM_GITscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/UPSTREAM_GIT. ?= https://github.com/openstack/$(DEBPKGNAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEBPKGNAME.).git |
| 9 |
GIT_TAGscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/GIT_TAG. ?= $(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. echo '$(VERSION)' | sed -e 's/~/_/') |
| 10 |
MANIFEST_EXCLUDE_STANDARDscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/MANIFEST_EXCLUDE_STANDARD. ?= $(DEBPKGNAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEBPKGNAME.) |
| 11 |
DEBIAN_BRANCHscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEBIAN_BRANCH. ?= $(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. cat debian/gbp.conf | grep debian-branch | cut -d'=' -f2 | awk '{print $1}') |
| 12 |
|
| 13 |
export OSLO_PACKAGE_VERSIONscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/OSLO_PACKAGE_VERSION.=$(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' -e 's/+dfsg1//' | head -n 1) |
| 14 |
|
| 15 |
|
| 16 |
export PBR_VERSIONscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PBR_VERSION.=$(DEB_VERSION_UPSTREAMscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEB_VERSION_UPSTREAM.) |
| 17 |
export PYBUILD_NAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_NAME.=jeepyb |
| 18 |
export PYBUILD_INSTALL_ARGSscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_INSTALL_ARGS.=--install-scripts=/usr/share/jeepyb |
| 19 |
|
| 20 |
VER_PARSEDscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/VER_PARSED.=$(shellscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/shell. echo 20170923|awk -F '' '{printf $$1$$2$$3$$4 "-" $$5$$6 "-" $$7$$8}') |
| 21 |
|
| 22 |
%scip-debian debian jeepyb 0+20190513-4 jeepyb/rules/`%`().: |
| 23 |
dh $@ --buildsystem=pybuild |
| 24 |
|
| 25 |
get-orig-sourcescip-debian debian jeepyb 0+20190513-4 jeepyb/rules/get-orig-source().: |
| 26 |
git clone https://github.com/openstack-infra/jeepyb.git $(PYBUILD_NAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_NAME.)-$(DEB_VERSION_UPSTREAMscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEB_VERSION_UPSTREAM.) |
| 27 |
(cd $(PYBUILD_NAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_NAME.)-$(DEB_VERSION_UPSTREAMscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEB_VERSION_UPSTREAM.) && git checkout `git rev-list -n 1 --before="$(VER_PARSEDscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/VER_PARSED.) 23:59" master`) |
| 28 |
tar czvf ../$(PYBUILD_NAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_NAME.)_$(DEB_VERSION_UPSTREAMscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEB_VERSION_UPSTREAM.).orig.tar.gz $(PYBUILD_NAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_NAME.)-$(DEB_VERSION_UPSTREAMscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEB_VERSION_UPSTREAM.)/* |
| 29 |
rm -rf $(PYBUILD_NAMEscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/PYBUILD_NAME.)-$(DEB_VERSION_UPSTREAMscip-debian debian jeepyb 0+20190513-4 jeepyb/rules/DEB_VERSION_UPSTREAM.) |