summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-27 19:33:53 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-27 19:33:53 +0100
commit32bedc00aa47fec1f57f77d74378e1436d9f545d (patch)
tree8195d50f500873b71bdbda1ef203d29105cdcc33 /dev-python/appdirs
parentdev-python/mkdocs_pymdownx_material_extras: Remove old (diff)
downloadgentoo-32bedc00aa47fec1f57f77d74378e1436d9f545d.tar.gz
gentoo-32bedc00aa47fec1f57f77d74378e1436d9f545d.tar.bz2
gentoo-32bedc00aa47fec1f57f77d74378e1436d9f545d.zip
dev-python/appdirs: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/appdirs')
-rw-r--r--dev-python/appdirs/appdirs-1.4.4-r1.ebuild24
-rw-r--r--dev-python/appdirs/files/appdirs-1.4.4-distutils.patch28
2 files changed, 0 insertions, 52 deletions
diff --git a/dev-python/appdirs/appdirs-1.4.4-r1.ebuild b/dev-python/appdirs/appdirs-1.4.4-r1.ebuild
deleted file mode 100644
index 40b01efb70d6..000000000000
--- a/dev-python/appdirs/appdirs-1.4.4-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# note the patch below
-DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Module for determining appropriate platform-specific dirs"
-HOMEPAGE="https://github.com/ActiveState/appdirs"
-SRC_URI="https://github.com/ActiveState/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.4.4-distutils.patch )
-
-python_test() {
- "${PYTHON}" test/test_api.py -v || die "Tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/appdirs/files/appdirs-1.4.4-distutils.patch b/dev-python/appdirs/files/appdirs-1.4.4-distutils.patch
deleted file mode 100644
index 73b871889a0b..000000000000
--- a/dev-python/appdirs/files/appdirs-1.4.4-distutils.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 231643d6865c89f304990bb7f5dc9066f3daeb95 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 13 May 2020 08:50:29 +0200
-Subject: [PATCH] Install via distutils to break cyclic dep with setuptools
-
----
- setup.py | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 7c582f6..fdb8005 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1,10 +1,7 @@
- #!/usr/bin/env python
- import os
- # appdirs is a dependency of setuptools, so allow installing without it.
--try:
-- from setuptools import setup
--except ImportError:
-- from distutils.core import setup
-+from distutils.core import setup
- import ast
-
-
---
-2.26.2
-