mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
Merge updates from master
This commit is contained in:
1
dev-python/quantities/Manifest
Normal file
1
dev-python/quantities/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST python-quantities.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f
|
||||
9
dev-python/quantities/metadata.xml
Normal file
9
dev-python/quantities/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ddenoncin@gmail.com</email>
|
||||
<name>David Denoncin</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
40
dev-python/quantities/quantities-0.12.4.ebuild
Normal file
40
dev-python/quantities/quantities-0.12.4.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="python-quantities"
|
||||
MY_PV="$(ver_cut 1-3)"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Support for physical quantities with units, based on numpy"
|
||||
HOMEPAGE="https://github.com/python-quantities/python-quantities"
|
||||
SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_PN}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-python/numpy[$PYTHON_USEDEP]
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Unexpected success
|
||||
sed -i -e 's:test_fix:_&:' \
|
||||
quantities/tests/test_umath.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
distutils_enable_tests unittest
|
||||
# wants ext.pngmath which got removed in sphinx-2
|
||||
distutils_enable_sphinx doc dev-python/numpydoc "<dev-python/sphinx-2"
|
||||
1
sys-block/systemd-swap/Manifest
Normal file
1
sys-block/systemd-swap/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST systemd-swap-4.0.1.tar.gz 20349 BLAKE2B 1e4e83b89ea5a0bd3195db951477920cdb185d4f44b6b7bfcc06a9b4bd6086e4c427b34de9a584a58a5a424c21ee9e4c25b9485332ef5811f7ee5db6c02c904c SHA512 c0ba9fa5a3d456376679fe8383550ae0fb26126d8b6c04d2d7d782911709e4c96c42b5a4db3d23b7e921881950d06cc81b60514055b27134106815595da97020
|
||||
12
sys-block/systemd-swap/metadata.xml
Normal file
12
sys-block/systemd-swap/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>david@ixit.cz</email>
|
||||
<name>David Heidelberg</name>
|
||||
</maintainer>
|
||||
|
||||
<upstream>
|
||||
<remote-id type="github">Nefelim4ag/systemd-swap</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
25
sys-block/systemd-swap/systemd-swap-4.0.1.ebuild
Normal file
25
sys-block/systemd-swap/systemd-swap-4.0.1.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Script for creating swap space from zram swaps, swap files and swap partitions."
|
||||
HOMEPAGE="https://github.com/Nefelim4ag/systemd-swap/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Nefelim4ag/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Nefelim4ag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~ZRAM ~ZSWAP"
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/" install
|
||||
}
|
||||
Reference in New Issue
Block a user