dev-python/xraydb - 4.4.7-r1 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/xraydb-4.4.7-r1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/xraydb-4.4.7-r1

Or alternatively:

emerge --autounmask-write -a =dev-python/xraydb-4.4.7-r1

Package Information

Description:
X-ray Reference Data for the Elements using SQLite
Homepage:
https://github.com/xraypy/XrayDB
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
4.4.7-r1 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="X-ray Reference Data for the Elements using SQLite"
HOMEPAGE="https://github.com/xraypy/XrayDB"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

RDEPEND="
	>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
	>=dev-python/scipy-0.17[${PYTHON_USEDEP}]
	dev-python/sqlalchemy[${PYTHON_USEDEP}]
"

src_prepare() {
	# versioneer.py uses two APIs removed in Python 3.12: SafeConfigParser (a
	# deprecated alias of ConfigParser since 3.2) and ConfigParser.readfp
	# (renamed to read_file). Restore the build on 3.12+.
	sed -i -e 's/SafeConfigParser/ConfigParser/g' \
		-e 's/\.readfp(/.read_file(/g' versioneer.py || die
	distutils-r1_src_prepare
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/numpy-1.10[]
	>=dev-python/scipy-0.17[]
	dev-python/sqlalchemy[]