Merge branch 'master' of ivanruvalcaba/offpunk into master

This commit is contained in:
ploum 2022-04-05 07:54:42 +00:00 committed by Gogs
commit 30e83919e7
9 changed files with 117 additions and 0 deletions

12
debian/changelog vendored Normal file
View File

@ -0,0 +1,12 @@
offpunk (1.2.0-2) unstable; urgency=low
* Fix package mandatory and optional dependencies.
* Add project's docs.
-- Iván Ruvalcaba <ivanruvalcaba@disroot.org> Mon, 04 Apr 2022 17:33:00 -0500
offpunk (1.2.0-1) unstable; urgency=low
* New upstream version.
-- Iván Ruvalcaba <ivanruvalcaba@disroot.org> Fri, 01 Apr 2022 12:15:00 -0500

1
debian/clean vendored Normal file
View File

@ -0,0 +1 @@
offpunk.egg-info/

29
debian/control vendored Normal file
View File

@ -0,0 +1,29 @@
Source: offpunk
Section: net
Priority: optional
Maintainer: Iván Ruvalcaba <ivanruvalcaba@disroot.org>
Build-Depends:
debhelper-compat (= 13),
python3-all,
Build-Depends-Indep:
dh-python,
Rules-Requires-Root: no
Standards-Version: 4.6.0
Homepage: https://notabug.org/ploum/offpunk
Package: offpunk
Architecture: all
Depends:
less,
file,
xdg-utils,
python3-cryptography,
python3-feedparser,
python3-requests,
python3-bs4,
${misc:Depends},
${python3:Depends}
Suggests: xsel, python3-setproctitle, python3-readability, ripgrep, chafa (>= 1.10.0), python3-pil
Description: Offpunk is an offline-first browser for the smolnet
A command-line and offline-first smolnet browser/feed reader for Gemini,
Gopher, Spartan and Web.

41
debian/copyright vendored Normal file
View File

@ -0,0 +1,41 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: offpunk
Source: https://notabug.org/ploum/offpunk
Files: *
Copyright: 2022 Ploum <offpunk@ploum.eu> and contributors
License: BSD-2-Clause
Files: debian/*
Copyright: 2022 Iván Ruvalcaba <ivanruvalcaba@disroot.org>
License: FSFAP
License: BSD-2-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: FSFAP
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty, provided the copyright notice
and this notice are preserved. This file is offered as-is, without any
warranty.
See the GNU All-Permissive License for more details
<http://www.gnu.org/licenses/>.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
LICENSE
README.md

1
debian/offpunk.install vendored Normal file
View File

@ -0,0 +1 @@
debian/scripts/offpunk usr/bin

20
debian/rules vendored Executable file
View File

@ -0,0 +1,20 @@
#!/usr/bin/make -f
# -*- makefile -*-
export PYBUILD_DESTDIR_python3=debian/offpunk/
export LC_ALL=C.UTF-8
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
override_dh_auto_install:
dh_auto_install
chmod 755 debian/offpunk/usr/bin/offpunk
rm debian/offpunk/usr/bin/offpunk
find debian -type d -empty -delete
override_dh_installdocs:
dh_installdocs

10
debian/scripts/offpunk vendored Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from offpunk import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)