diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-11-08 08:20:30 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-11-08 08:20:30 +0100 |
commit | 3ecb3b68c2e79ffd49e18bfe27ff6f40f018a519 (patch) | |
tree | 3bdd0c18beeb2a5b55b7ca10baf0389a0f1d8d28 /dev-python/patsy | |
parent | net-dns/pdns-recursor: Version bump to 4.4.7 and 4.5.7 (diff) | |
download | gentoo-3ecb3b68c2e79ffd49e18bfe27ff6f40f018a519.tar.gz gentoo-3ecb3b68c2e79ffd49e18bfe27ff6f40f018a519.tar.bz2 gentoo-3ecb3b68c2e79ffd49e18bfe27ff6f40f018a519.zip |
dev-python/patsy: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/patsy')
-rw-r--r-- | dev-python/patsy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/patsy/files/patsy-0.5.1-py310.patch | 39 | ||||
-rw-r--r-- | dev-python/patsy/patsy-0.5.1.ebuild | 27 |
3 files changed, 0 insertions, 67 deletions
diff --git a/dev-python/patsy/Manifest b/dev-python/patsy/Manifest index b66b50f379ee..67873491e698 100644 --- a/dev-python/patsy/Manifest +++ b/dev-python/patsy/Manifest @@ -1,2 +1 @@ -DIST patsy-0.5.1.tar.gz 397623 BLAKE2B b8861e8c8e223db5df616c378d5b1ce475a1b337d049723c1a4b01432d9e1569c4b6537dc467fbc1ba83dfc7cd999ad188008e387c446f2133f872393c9eb960 SHA512 aeb56411e68713ec75c0b5344890939f721c460d3c7643b9fd57d7c928421d21408b0f2963348edf27a025842989dbae6fd5cfccd3f9d9497d60a1dffe8d7bdc DIST patsy-0.5.2.tar.gz 397275 BLAKE2B 3aa5dc310729bd979c78004d5f1badb83b75b08d290cf8258191c87d61401f0b6ecd9490f1c4b932269e545c50a16694e44de9c076ca80648717c5f1af62fb69 SHA512 898df5536b0ff3a4d299e69c5f73a3d754cfbe78fe463fb4c4726cfd67d4e30c77cd3d7093131737207cb9f29c1374ab20a68ec5978007ea51878ec7c395f48d diff --git a/dev-python/patsy/files/patsy-0.5.1-py310.patch b/dev-python/patsy/files/patsy-0.5.1-py310.patch deleted file mode 100644 index 04a712e7e426..000000000000 --- a/dev-python/patsy/files/patsy-0.5.1-py310.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 6328c7652e4d7fda9872a555d31658e54b7b0e6e Mon Sep 17 00:00:00 2001 -From: thequackdaddy <pquack@gmail.com> -Date: Sun, 28 Oct 2018 19:38:08 -0500 -Subject: [PATCH] MAINT: A few python 3.7 fixes - ---- - patsy/constraint.py | 5 ++++- - tools/check-API-refs.py | 2 +- - 3 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/patsy/constraint.py b/patsy/constraint.py -index ca9f6e2..d710a94 100644 ---- a/patsy/constraint.py -+++ b/patsy/constraint.py -@@ -10,7 +10,10 @@ - __all__ = ["LinearConstraint"] - - import re --from collections import Mapping -+try: -+ from collections.abc import Mapping -+except ImportError: -+ from collections import Mapping - import six - import numpy as np - from patsy import PatsyError -diff --git a/tools/check-API-refs.py b/tools/check-API-refs.py -index 8e9e8a1..9349028 100644 ---- a/tools/check-API-refs.py -+++ b/tools/check-API-refs.py -@@ -9,7 +9,7 @@ - root = dirname(dirname(abspath(__file__))) - patsy_ref = root + "/doc/API-reference.rst" - --doc_re = re.compile("^\.\. (.*):: ([^\(]*)") -+doc_re = re.compile("^\\.\\. (.*):: ([^\\(]*)") - def _documented(rst_path): - documented = set() - for line in open(rst_path): diff --git a/dev-python/patsy/patsy-0.5.1.ebuild b/dev-python/patsy/patsy-0.5.1.ebuild deleted file mode 100644 index b728b8b52fb1..000000000000 --- a/dev-python/patsy/patsy-0.5.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python module to describe statistical models and design matrices" -HOMEPAGE="https://patsy.readthedocs.org/en/latest/index.html" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] -" - -distutils_enable_tests nose - -PATCHES=( - "${FILESDIR}"/${P}-py310.patch -) |