diff --git a/dev-util/osc/files/osc-1.21.0-setuptools.patch b/dev-util/osc/files/osc-1.21.0-setuptools.patch new file mode 100644 index 0000000000..ba0ac0fcdc --- /dev/null +++ b/dev-util/osc/files/osc-1.21.0-setuptools.patch @@ -0,0 +1,14 @@ +license classifiers are deprecated and may become an error + +diff --git a/setup.cfg b/setup.cfg +index 5c14b817..8376132e 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -15,7 +15,6 @@ classifiers = + Intended Audience :: Developers + Intended Audience :: Information Technology + Intended Audience :: System Administrators +- License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+) + Operating System :: MacOS :: MacOS X + Operating System :: POSIX :: BSD :: FreeBSD + Operating System :: POSIX :: Linux diff --git a/dev-util/osc/osc-1.21.0.ebuild b/dev-util/osc/osc-1.21.0.ebuild index f0e6c45d46..2408d6211f 100644 --- a/dev-util/osc/osc-1.21.0.ebuild +++ b/dev-util/osc/osc-1.21.0.ebuild @@ -28,6 +28,8 @@ BDEPEND=" test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " +PATCHES=( "${FILESDIR}/${P}-setuptools.patch" ) + EPYTEST_DESELECT=( # AssertionError: Lists differ: ['/usr/lib/osc-plugins', '/usr/local/lib/o[53 chars]ins'] != [] tests/test_doc_plugins.py::TestPopProjectPackageFromArgs::test_plugin_locations