diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-21 21:23:00 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:53 +0100 |
| commit | ce990064f805bbd60c2a96dbda50f17d008cf4c1 (patch) | |
| tree | 180336b834ce10d4034a2255fbecc975d0caffc3 /gnu/packages/openstack.scm | |
| parent | ad6fd4419924a4cdd52902d58edbbb6f4c5ad2e9 (diff) | |
gnu: Remove python-mox3.
Unmaintained, fails to build, no users in Guix, see:
<http://git.openstack.org/cgit/openstack/mox3>.
* gnu/packages/openstack.scm (python-mox3): Delete variable.
* gnu/packages/patches/python-mox3-python3.6-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
Change-Id: Idde550fee66f2e80e07a7269bd9b0e8cadcb058b
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index ac0ab05ca11..ee31ae9f086 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -174,50 +174,6 @@ manner.") | |||
| 174 | guidelines}.") | 174 | guidelines}.") |
| 175 | (license license:asl2.0))) | 175 | (license license:asl2.0))) |
| 176 | 176 | ||
| 177 | (define-public python-mox3 | ||
| 178 | (package | ||
| 179 | (name "python-mox3") | ||
| 180 | (version "0.24.0") | ||
| 181 | (source | ||
| 182 | (origin | ||
| 183 | (method url-fetch) | ||
| 184 | (uri (pypi-uri "mox3" version)) | ||
| 185 | (patches (search-patches "python-mox3-python3.6-compat.patch")) | ||
| 186 | (sha256 | ||
| 187 | (base32 "0w58adwv7q9wzvmq9mlrk2asfk73myq9fpwy7mjkzsz3baa95zf5")))) | ||
| 188 | (build-system pyproject-build-system) | ||
| 189 | (propagated-inputs | ||
| 190 | (list python-fixtures python-pbr)) | ||
| 191 | (native-inputs | ||
| 192 | (list python-openstackdocstheme | ||
| 193 | python-setuptools | ||
| 194 | python-sphinx | ||
| 195 | python-subunit | ||
| 196 | python-testrepository | ||
| 197 | python-testtools | ||
| 198 | python-wheel)) | ||
| 199 | (arguments | ||
| 200 | (list | ||
| 201 | #:phases | ||
| 202 | #~(modify-phases %standard-phases | ||
| 203 | (add-after 'unpack 'fix-for-python-3.11 | ||
| 204 | (lambda _ | ||
| 205 | ;; The getargspec function has been removed in python 3.11. | ||
| 206 | (substitute* "mox3/mox.py" | ||
| 207 | (("self\\._args, varargs, varkw, defaults = inspect\\.getargspec\\(method\\)") | ||
| 208 | "inspect_result = inspect.getfullargspec(method) | ||
| 209 | self._args = inspect_result.args | ||
| 210 | varargs = inspect_result.varargs | ||
| 211 | varkw = inspect_result.varkw | ||
| 212 | defaults = inspect_result.defaults"))))))) | ||
| 213 | (home-page "https://www.openstack.org/") | ||
| 214 | (synopsis "Mock object framework for Python") | ||
| 215 | (description | ||
| 216 | "Mox3 is an unofficial port of the @uref{https://code.google.com/p/pymox/, | ||
| 217 | Google mox framework} to Python 3. It was meant to be as compatible | ||
| 218 | with mox as possible, but small enhancements have been made.") | ||
| 219 | (license license:asl2.0))) | ||
| 220 | |||
| 221 | (define-public python-openstackdocstheme | 177 | (define-public python-openstackdocstheme |
| 222 | (package | 178 | (package |
| 223 | (name "python-openstackdocstheme") | 179 | (name "python-openstackdocstheme") |
