Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
add debian packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
schachmat authored and gerow committed Feb 18, 2020
1 parent f0c6e98 commit 2dba656
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python-fanotify (0.1) unstable; urgency=medium

* Initial release.

-- Mike Gerow <gerow@google.com> Tue, 01 Sep 2015 15:15:27 -0700
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12
36 changes: 36 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Source: python-fanotify
Maintainer: Mike Gerow <gerow@google.com>
Section: python
Priority: optional
Build-Depends:
debhelper (>= 12.7.2),
dh-python,
python-all-dev,
python-nose,
python-setuptools,
python3-all-dev,
python3-nose,
python3-setuptools,
Standards-Version: 4.4.0

Package: python-fanotify
Architecture: any
Depends:
${misc:Depends},
${python:Depends},
${shlibs:Depends},
python,
Description: Interface to linux's fanotify system calls for python2.
This library allows you to monitor and control accesses to files. For more
information see the man pages on fanotify itself.

Package: python3-fanotify
Architecture: any
Depends:
${misc:Depends},
${python3:Depends},
${shlibs:Depends},
python3,
Description: Interface to linux's fanotify system calls for python3.
This library allows you to monitor and control accesses to files. For more
information see the man pages on fanotify itself.
1 change: 1 addition & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyright 2015-2020 Google, Inc. All rights reserved.
1 change: 1 addition & 0 deletions debian/python-fanotify.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/python2.7/dist-packages
1 change: 1 addition & 0 deletions debian/python3-fanotify.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/python3.7/dist-packages
10 changes: 10 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/make -f

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

override_dh_python2:
dh_python2 --shebang '/usr/bin/python2 -sE'

override_dh_python3:
dh_python3 --shebang '/usr/bin/python3 -sE'
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit 2dba656

Please sign in to comment.