Skip to content

Commit 52b0f0a

Browse files
committed
Add Debian packaging stuff
1 parent 900a818 commit 52b0f0a

9 files changed

Lines changed: 76 additions & 1 deletion

File tree

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-osc (1.9.0.1) stable; urgency=medium
2+
3+
* Initial release.
4+
5+
-- Albert Stefanov <albert@kmail.bg> Mon, 07 Oct 2024 20:04:34 +0300

debian/control

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Source: python-osc
2+
Section: python
3+
Priority: optional
4+
Build-Depends:
5+
debhelper (>= 11~),
6+
dh-python,
7+
pybuild-plugin-pyproject,
8+
debhelper-compat (= 12),
9+
python3-all,
10+
python3-setuptools,
11+
Testsuite: autopkgtest-pkg-pybuild
12+
Maintainer: Albert Stefanov <albert@kmail.bg>
13+
Standards-Version: 4.6.2
14+
15+
Package: python3-osc
16+
X-Python3-Version: >= 3.10
17+
Architecture: all
18+
Depends: ${python3:Depends}, ${misc:Depends}
19+
Description: Open Sound Control server and client implementations in **pure python**.
20+
Features:
21+
* UDP blocking/threading/forking/asyncio server implementations
22+
* UDP client
23+
* int, int64, float, string, double, MIDI, timestamps, blob, nil OSC arguments
24+
* simple OSC address<->callback matching system
25+
* extensive unit test coverage
26+
* basic client and server examples

debian/copyright

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: python-osc
3+
Source: https://github.com/attwad/python-osc
4+
5+
Files: *
6+
Copyright: 2013-2024 attwad
7+
License: unlicense
8+
9+
Files: debian/*
10+
Copyright: 2024- FOSDEM Team
11+
License: MIT
12+
13+
Files: pythonosc/slip.py
14+
Copyright: Copyright (c) 2015 Ruud de Jong
15+
License: MIT
16+
17+
18+
License: unlicense
19+
This is free and unencumbered software released into the public domain.
20+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
21+
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
22+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+
For more information, please refer to <https://unlicense.org>
24+
25+
License: MIT
26+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
27+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
28+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

debian/lintian-overrides

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python3-osc: initial-upload-closes-no-bugs

debian/python3-python-osc.docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.rst

debian/rules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/make -f
2+
3+
export PYBUILD_NAME=osc
4+
5+
%:
6+
dh $@ --buildsystem=pybuild --with=python3

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

debian/source/options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extend-diff-ignore="^[^/]+.(egg-info|dist-info)/"

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ classifiers=[
1818
'Topic :: System :: Networking',
1919
]
2020
[project.urls]
21-
Repository = "https://github.com/attwad/python-osc"
21+
Repository = "https://github.com/attwad/python-osc"
22+
23+
[tool.setuptools.packages.find]
24+
where = ["."] # list of folders that contain the packages (["."] by default)
25+
include = ["pythonosc"] # package names should match these glob patterns (["*"] by default)
26+
exclude = [] # exclude packages matching these glob patterns (empty by default)
27+
namespaces = false # to disable scanning PEP 420 namespaces (true by default)

0 commit comments

Comments
 (0)