Browse Source

Build debian package

master
Johann Schmitz 3 years ago
parent
commit
ea3c95ad86
  1. 8
      Makefile
  2. 5
      debian/changelog
  3. 1
      debian/compat
  4. 11
      debian/control
  5. 7
      debian/copyright
  6. 6
      debian/rules
  7. 5
      setup.py

8
Makefile

@ -29,8 +29,14 @@ coverage:
clean:
find -name "*.py?" -delete
rm -rf smartcheck/__pycache__
rm -f coverage.xml testresults.xml
rm -fr htmlcov dist build smart_check.egg-info
rm -fr htmlcov dist build smart_check.egg-info deb_dist smart-check-*.tar.gz \
.pybuild debian/.debhelper debian/smart-check \
debian/smart-check.*
deb:
debuild
travis: compile compile_optimized test_default_python coverage

5
debian/changelog

@ -0,0 +1,5 @@
smart-check (0.4.2) UNRELEASED; urgency=medium
* Initial release.
-- Johann Schmitz <johann@j-schmitz.net> Tue, 26 Jun 2018 05:59:19 +0200

1
debian/compat

@ -0,0 +1 @@
9

11
debian/control

@ -0,0 +1,11 @@
Source: smart-check
Maintainer: Johann Schmitz <johann@j-schmitz.net>
Build-Depends: debhelper (>= 11~), dh-python, python3-all, python3-setuptools
Standards-Version: 3.9.2
X-Python3-Version: >= 3.4
Package: smart-check
Architecture: all
Depends: python3-yaml, smartmontools, ${python3:Depends}, ${misc:Depends}
Description: A smart S.M.A.R.T. check
Long description for smart-check

7
debian/copyright

@ -0,0 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: smart-check
Upstream-Contact: Johann Schmitz <johann@j-schmitz.net>
Files: *
Copyright: 2015, Johann Schmitz <johann@j-schmitz.net>
License: GPL-3

6
debian/rules

@ -0,0 +1,6 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=smart-check
%:
dh $@ --with python3 --buildsystem=pybuild

5
setup.py

@ -13,9 +13,8 @@ setup(
author_email='johann@j-schmitz.net',
url='https://ercpe.de/projects/smart-check',
download_url='https://code.not-your-server.de/smart-check.git/tags/',
packages=find_packages('.'),
include_package_data=True,
package_data={'': ['*.yaml']},
packages=['smartcheck'],
package_data={'smartcheck': ['*.yaml']},
zip_safe=False,
license='GPL-3',
entry_points={

Loading…
Cancel
Save