Skip to content

Commit

Permalink
Merge pull request #112 from waveform80/packaging-jessie
Browse files Browse the repository at this point in the history
Fix master packaging to work on jessie
  • Loading branch information
waveform80 committed Nov 15, 2015
2 parents 32d5941 + 8d479c8 commit 4dca7c7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
19 changes: 9 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ SUBDIRS:=
DIST_EGG=dist/$(NAME)-$(VER)-$(PYVER).egg
DIST_TAR=dist/$(NAME)-$(VER).tar.gz
DIST_ZIP=dist/$(NAME)-$(VER).zip
DIST_DEB=dist/python-$(NAME)_$(VER)-1$(DEB_SUFFIX)_all.deb \
dist/python3-$(NAME)_$(VER)-1$(DEB_SUFFIX)_all.deb \
dist/$(NAME)_$(VER)-1$(DEB_SUFFIX)_$(DEB_ARCH).changes
DIST_DSC=dist/$(NAME)_$(VER)-1$(DEB_SUFFIX).tar.gz \
dist/$(NAME)_$(VER)-1$(DEB_SUFFIX).dsc \
dist/$(NAME)_$(VER)-1$(DEB_SUFFIX)_source.changes
DIST_DEB=dist/python-$(NAME)_$(VER)$(DEB_SUFFIX)_all.deb \
dist/python3-$(NAME)_$(VER)$(DEB_SUFFIX)_all.deb \
dist/$(NAME)_$(VER)$(DEB_SUFFIX)_$(DEB_ARCH).changes
DIST_DSC=dist/$(NAME)_$(VER)$(DEB_SUFFIX).tar.gz \
dist/$(NAME)_$(VER)$(DEB_SUFFIX).dsc \
dist/$(NAME)_$(VER)$(DEB_SUFFIX)_source.changes
MAN_PAGES=


Expand Down Expand Up @@ -106,7 +106,6 @@ test:
clean:
$(PYTHON) $(PYFLAGS) setup.py clean
$(MAKE) -f $(CURDIR)/debian/rules clean
$(MAKE) -C docs clean
rm -fr build/ dist/ $(NAME).egg-info/ tags
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
Expand Down Expand Up @@ -156,7 +155,7 @@ release: $(PY_SOURCES) $(DOC_SOURCES) $(DEB_SOURCES)
# ensure there are no current uncommitted changes
test -z "$(shell git status --porcelain)"
# update the debian changelog with new release information
dch --newversion $(VER)-1$(DEB_SUFFIX) --controlmaint
dch --newversion $(VER)$(DEB_SUFFIX) --controlmaint
# commit the changes and add a new tag
git commit debian/changelog -m "Updated changelog for release $(VER)"
git tag -s release-$(VER) -m "Release $(VER)"
Expand All @@ -167,8 +166,8 @@ upload: $(PY_SOURCES) $(DOC_SOURCES) $(DIST_DEB) $(DIST_DSC)
# build a source archive and upload to PyPI
$(PYTHON) $(PYFLAGS) setup.py sdist upload
# build the deb source archive and upload to Raspbian
dput raspberrypi dist/$(NAME)_$(VER)-1$(DEB_SUFFIX)_source.changes
dput raspberrypi dist/$(NAME)_$(VER)-1$(DEB_SUFFIX)_$(DEB_ARCH).changes
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_source.changes
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_$(DEB_ARCH).changes
git push --tags

.PHONY: all install develop test doc source egg zip tar deb dist clean tags release upload $(SUBDIRS)
Expand Down
8 changes: 4 additions & 4 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
gpiozero (0.9.0-1) stable; urgency=medium
gpiozero (0.9.0) stable; urgency=medium

* Added source and values properties to all relevant classes (#76)
* Fix names of parameters in Motor constructor (#79)
* Added wrappers for LED groups on add-on boards (#81)

-- Dave Jones <dave@waveform.org.uk> Sun, 25 Oct 2015 18:56:58 +0100

gpiozero (0.8.0-1) stable; urgency=medium
gpiozero (0.8.0) stable; urgency=medium

* Added generic AnalogInputDevice class along with specific classes for the
MCP3008 and MCP3004 (#41)
* Fixed blink (#57)

-- Dave Jones <dave@waveform.org.uk> Fri, 16 Oct 2015 11:40:42 +0100

gpiozero (0.7.0-1) stable; urgency=medium
gpiozero (0.7.0) stable; urgency=medium

* Second public beta

-- Dave Jones <dave@waveform.org.uk> Fri, 09 Oct 2015 12:30:13 +0100

gpiozero (0.6.0-1) stable; urgency=medium
gpiozero (0.6.0) stable; urgency=medium

* Raspbian packaging (#44)
* PWM functionality including variable level RGB LEDs (#40)
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Homepage: http://github.com/RPi-Distro/python-gpiozero
Section: python
Priority: extra
Build-Depends: debhelper (>= 8), python-all (>= 2.7), python-setuptools, python3-all, python3-setuptools
Standards-Version: 3.9.3
Standards-Version: 3.9.6
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.2

Expand Down

0 comments on commit 4dca7c7

Please sign in to comment.