summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pycups/pycups-2.0.1.ebuild')
-rw-r--r--dev-python/pycups/pycups-2.0.1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-python/pycups/pycups-2.0.1.ebuild b/dev-python/pycups/pycups-2.0.1.ebuild
index b14f8c18b45c..46c50c1509fc 100644
--- a/dev-python/pycups/pycups-2.0.1.ebuild
+++ b/dev-python/pycups/pycups-2.0.1.ebuild
@@ -13,13 +13,18 @@ HOMEPAGE="https://github.com/OpenPrinting/pycups"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="examples"
RDEPEND="net-print/cups"
DEPEND="${RDEPEND}"
+PATCHES=(
+ # https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
+ "${FILESDIR}/${P}-py3.10.patch"
+)
+
python_install_all() {
if use examples; then
dodoc -r examples
@@ -27,8 +32,3 @@ python_install_all() {
fi
distutils-r1_python_install_all
}
-
-PATCHES=(
- # https://github.com/OpenPrinting/pycups/commit/8cbf6d40a0132764ad51e7416aa7034966875091
- "${FILESDIR}/${P}-py3.10.patch"
-)