Browse Source

Build debian package

master
Johann Schmitz 1 year ago
parent
commit
ea3c95ad86
7 changed files with 39 additions and 4 deletions
  1. 7
    1
      Makefile
  2. 5
    0
      debian/changelog
  3. 1
    0
      debian/compat
  4. 11
    0
      debian/control
  5. 7
    0
      debian/copyright
  6. 6
    0
      debian/rules
  7. 2
    3
      setup.py

+ 7
- 1
Makefile View File

@@ -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
- 0
debian/changelog View File

@@ -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
- 0
debian/compat View File

@@ -0,0 +1 @@
9

+ 11
- 0
debian/control View File

@@ -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
- 0
debian/copyright View File

@@ -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
- 0
debian/rules View File

@@ -0,0 +1,6 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=smart-check

%:
dh $@ --with python3 --buildsystem=pybuild

+ 2
- 3
setup.py View File

@@ -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