Skip to content

Commit

Permalink
deb package fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mIcHyAmRaNe committed Jul 26, 2024
1 parent 6c61257 commit bd394ef
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:

- name: Install build dependencies
run: |
export PYTHON=python3
python3 -V
curl -sSL https://install.python-poetry.org | python3 -
export PATH=$HOME/.local/bin:$PATH
Expand Down
10 changes: 8 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
okadminfinder (1.1.2-1) stable; urgency=low

* Deb package build fix.

-- mIcHy AmRaNe <6m63er17c@mozmail.com> Fri, 26 Jul 2024 16:49:05 +0200

okadminfinder (1.1.1-1) stable; urgency=low

* Debug mode.
* build the deb package using pyproject.toml instead of setup.py
* Build the deb package using pyproject.toml instead of setup.py

-- mIcHy AmRaNe <6m63er17c@mozmail.com> Thu, 11 Jul 2024 17:29:05 +0200

okadminfinder (1.1.0-1) stable; urgency=low

* source package automatically created by stdeb 0.10.0
* Source package automatically created by stdeb 0.10.0

-- mIcHy AmRaNe <6m63er17c@mozmail.com> Mon, 08 Jul 2024 00:28:22 +0200
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ Source: okadminfinder
Maintainer: mIcHy AmRaNe <6m63er17c@mozmail.com>
Section: utils
Priority: optional
Build-Depends: debhelper (>= 13), dh-python, python3-all
Build-Depends: debhelper (>= 13), dh-python, python3-all, pybuild-plugin-pyproject
Standards-Version: 4.6.0.1
XS-Python-Version: >= 3.7
X-Python3-Version: >= 3.7
Homepage: https://michyamrane.github.io/tools/okadminfinder/

Expand Down
1 change: 0 additions & 1 deletion debian/debhelper-build-stamp

This file was deleted.

6 changes: 6 additions & 0 deletions debian/okadminfinder.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/python3

from okadminfinder.okadminfinder import main

if __name__ == '__main__':
main()
8 changes: 8 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ override_dh_auto_build:
poetry build

override_dh_auto_install:

# Install the package using pybuild
dh_auto_install --buildsystem=pybuild --destdir=debian/okadminfinder/
poetry run pip3 install . --no-deps --force --root=debian/okadminfinder --no-compile --prefix=/usr

# Install the entry point script
install -Dm755 debian/okadminfinder.script debian/okadminfinder/usr/bin/okadminfinder

## poetry run pip3 install . --no-deps --force --root=debian/okadminfinder --no-compile --prefix=/usr
# poetry install --no-root --only main --no-interaction --no-ansi

override_dh_installman:
Expand Down
2 changes: 1 addition & 1 deletion okadminfinder/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__creator__ = "O.Koleda"
__maintainer__ = "mIcHyAmRaNe"
__version__ = "1.1.1"
__version__ = "1.1.2"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "okadminfinder"
version = "1.1.1"
version = "1.1.2"
description = "[Admin panel - Directories - Subdomains] finder ¢σ∂є∂ ву 👻 (❤-❤) 👻"
authors = ["mIcHyAmRaNe <6m63er17c@mozmail.com>"]
license = "Apache-2.0"
Expand Down

0 comments on commit bd394ef

Please sign in to comment.