parent
e17d11f185
commit
6fd22d86b0
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST diskcache-5.2.1.gh.tar.gz 652769 BLAKE2B 25fcdcf51c8be7a6e2a9de645258f776647789a7f06c70c8564ad28bd003a745167095b11a54d435e733d9f5181a1443be2510fe2d901cc208ea426d3359c0ba SHA512 6e55bada12145d931f4a465092decc3f2cfed2e618d1ea271ad6daa6caf7c3abfd6ae5de11072efdf898ebf272acd39136136b58d7b5e735092963bdd46af52e
|
||||
DIST diskcache-5.3.0.gh.tar.gz 653506 BLAKE2B 250420da434fa8a02cf58ed552072cb62a6d10dfa3801cf187db327a687763ab7f010c19f5e10b9ba71b2fd6830ba902750ca273c8be08c6f7987aa0923afcff SHA512 106c8eb8320153e42e076927d51fa75d30b92156e17a75756e0392028cb6b5054af9af66b93aa69b7a7105012f0b92fe942ee447a75e53e005b56eb0b067dc38
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
HOMEPAGE="http://www.grantjenks.com/docs/diskcache/
|
||||
https://github.com/grantjenks/python-diskcache/"
|
||||
DESCRIPTION="Disk and file backed cache"
|
||||
SRC_URI="
|
||||
https://github.com/grantjenks/python-diskcache/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
S=${WORKDIR}/python-diskcache-${PV}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/test_djangocache.py::DiskCacheTests::test_get_or_set_callable_returning_none
|
||||
tests/test_djangocache.py::DiskCacheTests::test_pickle
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# remove dep on pytest-xdist and pytest-cov
|
||||
sed -i -e '/-n auto/d' -e '/--cov/d' tox.ini || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST django-redis-5.0.0.tar.gz 47508 BLAKE2B 67d87bcbde16730abd71945fe081d425c1047962ff2ca0c382f65d0588ef72103204f8febfeeda9ea382cf53a5c871c087a85ea817f04fac383961f69324557f SHA512 4516e30122845b49789f04fd079b5bc99a732e814d82deb817f14d105895069defa627f1852ce3fd8464de313a5f01ba81f87272f7a98830f7100dbb0c0bfb12
|
||||
DIST django-redis-5.1.0.tar.gz 44112 BLAKE2B 9b3b142b1817f4c206754ab42b4fc63dca33ac40013eca9fdbf5c797d4c55a745bfb290835904967443729f12dc0d07e0a0c89f81c7afa6173b2687fb72c4246 SHA512 eb552eafd2cedc7c550ce6ad1fc56af163a65795c05748a0fc0dc0642092910bbf5163a5ef27bd6c4a4e4bef159c9fb6ce4fb78e64c1964762b8a1330e23e9f7
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Full featured redis cache backend for Django"
|
||||
HOMEPAGE="https://github.com/jazzband/django-redis/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-db/redis
|
||||
dev-python/lz4[${PYTHON_USEDEP}]
|
||||
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/--cov/d' \
|
||||
-e '/--no-cov/d' \
|
||||
-e '/redis/s:,<4::' \
|
||||
-i setup.cfg || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
local setting_file settings=(
|
||||
settings.sqlite
|
||||
settings.sqlite_json
|
||||
settings.sqlite_lz4
|
||||
settings.sqlite_msgpack
|
||||
settings.sqlite_sharding
|
||||
settings.sqlite_zlib
|
||||
# TODO: requires pyzstd
|
||||
# settings.sqlite_zstd
|
||||
)
|
||||
for setting_file in "${settings[@]}"; do
|
||||
einfo "Testing ${setting_file} configuration"
|
||||
epytest "--ds=${setting_file}"
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local redis_pid="${T}"/redis.pid
|
||||
local redis_port=6379
|
||||
local redis_test_config="
|
||||
daemonize yes
|
||||
pidfile ${redis_pid}
|
||||
port ${redis_port}
|
||||
bind 127.0.0.1
|
||||
"
|
||||
|
||||
# Spawn Redis itself for testing purposes
|
||||
einfo "Spawning Redis"
|
||||
einfo "NOTE: Port ${redis_port} must be free"
|
||||
"${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
|
||||
|
||||
# Run the tests
|
||||
distutils-r1_src_test
|
||||
|
||||
# Clean up afterwards
|
||||
kill "$(<"${redis_pid}")" || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pylast-4.2.1.tar.gz 39787 BLAKE2B 1f2f06671ce38bd42f7297279a58f674c3af8f66de4fe804d90e3fc178c73f09a24f65bbc4fd534da0c04f593dc5eb31f03da38a4ca969ea31a04978a603b7b4 SHA512 c1418ff1e6b6ab905d790cc83eb1a4b3172c0c28d523c2bbd641523a2e2601a84aff126dafd047f0fb9b82744bca883648e197b273026611f47671d39afd4fc6
|
||||
DIST pylast-4.3.0.tar.gz 39875 BLAKE2B 9b51c44295babc54207593e43d70ec121ddc4c4e5bea8a0936691d02c2cf996869cc3995f5b069bfe3a9208754705a716716cb6bb8aefef142723687dc07a16a SHA512 2880e142da2841775f2c48f2d5ad0adc39e6b65073a76dd6af24c65f420948755b25f7a630b95315ffbdd1f7536d9ac4570b3df01d6837f77faccf89aaf41f33
|
||||
DIST pylast-4.4.0.tar.gz 39793 BLAKE2B 13a2bd4652b0dee142442f8bc6bf922f544b093be207efe8661f5355e37ff59a5c0d9c844193d2d3e4f22ccafc10993b8cced6872d4f0fece42c37524bee8beb SHA512 341b3f8a6691699b9581769d1f06908df8ec694a22d8918e4ed37af1f47287577c5fc156f3807c744aa9774d69e23570036f06a8e9921f3c7c7d21b53b8eb041
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python interface to last.fm and other api-compatible websites"
|
||||
HOMEPAGE="https://github.com/pylast/pylast"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/flaky[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Tue, 30 Nov 2021 18:38:59 +0000
|
||||
Tue, 30 Nov 2021 20:08:58 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 30 Nov 2021 18:39:00 +0000
|
||||
Tue, 30 Nov 2021 20:08:58 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-python/django[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8[sqlite] ) python_targets_python3_9? ( dev-lang/python:3.9[sqlite] ) python_targets_python3_10? ( dev-lang/python:3.10[sqlite] ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Disk and file backed cache
|
||||
EAPI=8
|
||||
HOMEPAGE=http://www.grantjenks.com/docs/diskcache/ https://github.com/grantjenks/python-diskcache/
|
||||
IUSE=doc test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=python_targets_python3_8? ( dev-lang/python:3.8[sqlite] ) python_targets_python3_9? ( dev-lang/python:3.9[sqlite] ) python_targets_python3_10? ( dev-lang/python:3.10[sqlite] ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/grantjenks/python-diskcache/archive/v5.3.0.tar.gz -> diskcache-5.3.0.gh.tar.gz
|
||||
_eclasses_=distutils-r1 8041037f74e1f9d149c038c2fe2c97cf multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 a8b7938ade305f087865de7e52d079b5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=28242432fe36a3cd0cfa4b461e09ec67
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-db/redis dev-python/lz4[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/msgpack[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pytest-django[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pytest-mock[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) test? ( >=dev-python/django-2.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/redis-py-3.0.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/pytest-4.5.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Full featured redis cache backend for Django
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/jazzband/django-redis/
|
||||
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-python/django-2.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/redis-py-3.0.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/d/django-redis/django-redis-5.1.0.tar.gz
|
||||
_eclasses_=distutils-r1 8041037f74e1f9d149c038c2fe2c97cf multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 a8b7938ade305f087865de7e52d079b5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=25cf64dd9b5d3aa41277ccf0de06954d
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=dev-python/setuptools_scm[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] test? ( dev-python/flaky[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) test? ( >=dev-python/pytest-4.5.0[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_pypy3? ( >=dev-python/pypy3-7.3.7:0= ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Python interface to last.fm and other api-compatible websites
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/pylast/pylast
|
||||
IUSE=test python_targets_pypy3 python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=python_targets_pypy3? ( >=dev-python/pypy3-7.3.7:0= ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_pypy3 python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/pylast/pylast/archive/4.4.0.tar.gz -> pylast-4.4.0.tar.gz
|
||||
_eclasses_=distutils-r1 8041037f74e1f9d149c038c2fe2c97cf multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 a8b7938ade305f087865de7e52d079b5 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=5418e3adb286237593ff3fef760f58dc
|
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=dev-util/patchelf virtual/pkgconfig
|
||||
DEFINED_PHASES=install postinst postrm preinst prepare unpack
|
||||
DEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
DESCRIPTION=Dropbox daemon (pretends to be GUI-less)
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.dropbox.com/
|
||||
IUSE=selinux X
|
||||
KEYWORDS=~amd64 ~x86 ~x86-linux
|
||||
LICENSE=BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox
|
||||
RDEPEND=X? ( x11-themes/hicolor-icon-theme ) selinux? ( sec-policy/selinux-dropbox ) app-arch/bzip2 dev-libs/glib:2 dev-libs/libffi-compat:6 media-libs/fontconfig media-libs/freetype net-misc/wget sys-libs/zlib sys-libs/ncurses-compat:5 virtual/opengl x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXrender x11-libs/libxcb
|
||||
RESTRICT=mirror strip
|
||||
SLOT=0
|
||||
SRC_URI=amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-136.4.4345.tar.gz ) x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-136.4.4345.tar.gz )
|
||||
_eclasses_=desktop c0d27bf73aa08ca05b663dbd31fbef28 multilib 4b66d835ec72e021e359bb81eacfe988 pax-utils fce6ad998516159787b92e8043167889 systemd 2736b403a83f194b59b767f3b344c2c1 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa xdg 6024fbc93167fad782e2032933654857 xdg-utils 4f29a8b760a594a212abe9c2ba957c31
|
||||
_md5_=5e792a6a58a299121e467bbadbd00e03
|
Binary file not shown.
@ -1 +1 @@
|
||||
Tue, 30 Nov 2021 18:39:00 +0000
|
||||
Tue, 30 Nov 2021 20:08:58 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Nov 30 06:38:59 PM UTC 2021
|
||||
Tue Nov 30 08:08:58 PM UTC 2021
|
||||
|
@ -1 +1 @@
|
||||
Tue, 30 Nov 2021 19:00:01 +0000
|
||||
Tue, 30 Nov 2021 20:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
248fe9f3370a85043dd4ed7e666bdf830119bf0f 1638290655 2021-11-30T16:44:15+00:00
|
||||
d61268c0623f1963f5850320c20aa27fc506bb22 1638300712 2021-11-30T19:31:52+00:00
|
||||
|
@ -1 +1 @@
|
||||
1638297301 Tue 30 Nov 2021 06:35:01 PM UTC
|
||||
1638302701 Tue 30 Nov 2021 08:05:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Tue, 30 Nov 2021 18:39:00 +0000
|
||||
Tue, 30 Nov 2021 20:08:58 +0000
|
||||
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST dropbox-lnx.x86-135.4.4221.tar.gz 99891129 BLAKE2B 0f5e651f3305b89e7635c5df5a184c32fa17203734d0b6e33929497b2e18aa24c5eae77fd8266bbd6b50d805c439cf58c2f329656f7bde22eab7e78c5353d526 SHA512 d3859b79eebe7148452861cc248ae209c473aaa42f0098bbc281badf6a96b1b85ff76cd017376024a01d1f2f0ac2eafc7e2b235cf37e710e04eed9460b47e62f
|
||||
DIST dropbox-lnx.x86-136.4.4345.tar.gz 100089217 BLAKE2B 5e6028200f3788831447854e84a998ec00e77ba07abbbd3c5a2c837b0e465e954762a65ceef660b068887e101e417ca0292d1d150e2eb61a4d10218f70604439 SHA512 13657702abd5384f0f48043f441485258a66af2fef015b74de788903ba85bcfe47ce9f5118e06f0ec050e75536eb9312a33be40de267545476377613f14daa3f
|
||||
DIST dropbox-lnx.x86_64-135.4.4221.tar.gz 101696081 BLAKE2B 43aff5b95430c98c67ce58bd838500ea915e6da4c7500da86b1cf9d125b9f4c7c6ef2ab93da77ee17542c0b929f654df470a481135463deb623fe7135569d0c9 SHA512 4ee3b489d1ccce44ce27c06aff7e12f83cf82113d4f032d2a23ad981ed1d21dccb4be12aca801a45a221d1e75fdc6651da27c2fb404f3340ac7043cb8288493e
|
||||
DIST dropbox-lnx.x86_64-136.4.4345.tar.gz 101755439 BLAKE2B db966087ad02d05096d867aebc111b9424d85fb660ebf7c22cc07923c306c825969693311c78ce0ad84de5aa97e18d8b7aa13e636d2f9c6b17faf30d6d23b2aa SHA512 948d71577686cb8949d9b7d73713930ad8a2629de34166aa2b81b9dc302fd20afc7bb7a62e9d3f1d65b7e4329e2a6f986052492ee303f3e1339eef1fb7f378fa
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils systemd xdg
|
||||
|
||||
DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
|
||||
HOMEPAGE="https://www.dropbox.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )
|
||||
x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )"
|
||||
|
||||
LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE="selinux X"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
QA_PREBUILT="opt/.*"
|
||||
QA_EXECSTACK="opt/dropbox/dropbox"
|
||||
|
||||
BDEPEND="dev-util/patchelf"
|
||||
|
||||
# Be sure to have GLIBCXX_3.4.9, #393125
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-themes/hicolor-icon-theme
|
||||
)
|
||||
selinux? ( sec-policy/selinux-dropbox )
|
||||
app-arch/bzip2
|
||||
dev-libs/glib:2
|
||||
dev-libs/libffi-compat:6
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
net-misc/wget
|
||||
sys-libs/zlib
|
||||
sys-libs/ncurses-compat:5
|
||||
virtual/opengl
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libxcb
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${S}" || die
|
||||
mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
|
||||
mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die
|
||||
rmdir "${S}"/dropbox-lnx.*-${PV}/ || die
|
||||
rmdir .dropbox-dist || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# we supply all of these in RDEPEND
|
||||
rm -vf libGL.so.1 libX11* libffi.so.6 || die
|
||||
# some of these do not appear to be used
|
||||
rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \
|
||||
PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \
|
||||
wmctrl libdrm.so.2 libpopt.so.0 || die
|
||||
if use X ; then
|
||||
mv images/hicolor/16x16/status "${T}" || die
|
||||
else
|
||||
rm -vrf images || die
|
||||
fi
|
||||
patchelf --set-rpath '$ORIGIN' \
|
||||
apex._apex.*.so \
|
||||
nucleus_python.*.so \
|
||||
tprt.*.so \
|
||||
|| die
|
||||
pax-mark cm dropbox
|
||||
mv README ACKNOWLEDGEMENTS "${T}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local targetdir="/opt/dropbox"
|
||||
|
||||
insinto "${targetdir}"
|
||||
doins -r *
|
||||
fperms a+x "${targetdir}"/{dropbox,dropboxd}
|
||||
dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
|
||||
|
||||
use X && doicon -s 16 -c status "${T}"/status
|
||||
|
||||
make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo"
|
||||
|
||||
newinitd "${FILESDIR}"/dropbox.initd dropbox
|
||||
newconfd "${FILESDIR}"/dropbox.conf dropbox
|
||||
systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
|
||||
|
||||
dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Warning: while running, dropbox may attempt to autoupdate itself in"
|
||||
einfo " your user's home directory. To prevent this, run the following as"
|
||||
einfo " each user who will run dropbox:"
|
||||
einfo ""
|
||||
einfo "install -dm0 ~/.dropbox-dist"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue