Skip to content

Commit

Permalink
gui-wm/newm: update to proper python build
Browse files Browse the repository at this point in the history
  • Loading branch information
epsilon-0 committed Jan 26, 2023
1 parent 2d2da92 commit ef73d61
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
3 changes: 3 additions & 0 deletions gui-wm/newm/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
<email>[email protected]</email>
<name>Aisha Tammy</name>
</maintainer>
<upstream>
<remote-id type="github">jbuchermn/newm</remote-id>
</upstream>
</pkgmetadata>
19 changes: 10 additions & 9 deletions gui-wm/newm/newm-0.3a.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )

inherit distutils-r1
Expand All @@ -23,15 +24,15 @@ LICENSE="MIT"

SLOT="0"
DEPEND="
$(python_gen_cond_dep '
dev-python/dasbus[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pyfiglet[${PYTHON_USEDEP}]
dev-python/python-pam[${PYTHON_USEDEP}]
dev-python/pywm[${PYTHON_USEDEP}]
dev-python/thefuzz[${PYTHON_USEDEP}]
')
$(python_gen_cond_dep '
dev-python/dasbus[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pyfiglet[${PYTHON_USEDEP}]
dev-python/python-pam[${PYTHON_USEDEP}]
dev-python/pywm[${PYTHON_USEDEP}]
dev-python/thefuzz[${PYTHON_USEDEP}]
')
"
RDEPEND="${DEPEND}"

Expand Down
22 changes: 12 additions & 10 deletions gui-wm/newm/newm-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )

inherit distutils-r1
Expand All @@ -14,23 +15,24 @@ if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jbuchermn/newm.git"
else
SRC_URI="https://github.com/jbuchermn/newm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/jbuchermn/newm/archive/refs/tags/v0.3alpha.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-0.3alpha"
fi

LICENSE="MIT"

SLOT="0"
DEPEND="
$(python_gen_cond_dep '
dev-python/dasbus[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pyfiglet[${PYTHON_USEDEP}]
dev-python/python-pam[${PYTHON_USEDEP}]
dev-python/pywm[${PYTHON_USEDEP}]
dev-python/thefuzz[${PYTHON_USEDEP}]
')
$(python_gen_cond_dep '
dev-python/dasbus[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pyfiglet[${PYTHON_USEDEP}]
dev-python/python-pam[${PYTHON_USEDEP}]
dev-python/pywm[${PYTHON_USEDEP}]
dev-python/thefuzz[${PYTHON_USEDEP}]
')
"
RDEPEND="${DEPEND}"

Expand Down

0 comments on commit ef73d61

Please sign in to comment.