mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
utils: Remove compatibility re-export of 'memoize'.
The 'memoize' binding was re-exported in 2016, commit
19e1d5f7f9
, as a backwards-compatibility
measure that makes little sense now.
* guix/utils.scm: Don't re-export 'memoize'.
* guix/import/pypi.scm: Adjust imports.
* tests/pypi.scm: Remove duplicate (guix memoization) import.
This commit is contained in:
parent
a5e2fc7376
commit
6a79eed920
3 changed files with 4 additions and 5 deletions
|
@ -34,8 +34,10 @@ (define-module (guix import pypi)
|
||||||
#:use-module (srfi srfi-26)
|
#:use-module (srfi srfi-26)
|
||||||
#:use-module (srfi srfi-34)
|
#:use-module (srfi srfi-34)
|
||||||
#:use-module (srfi srfi-35)
|
#:use-module (srfi srfi-35)
|
||||||
#:use-module (guix ui)
|
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
|
#:use-module (guix memoization)
|
||||||
|
#:use-module (guix diagnostics)
|
||||||
|
#:use-module (guix i18n)
|
||||||
#:use-module ((guix build utils)
|
#:use-module ((guix build utils)
|
||||||
#:select ((package-name->name+version
|
#:select ((package-name->name+version
|
||||||
. hyphen-package-name->name+version)
|
. hyphen-package-name->name+version)
|
||||||
|
|
|
@ -44,9 +44,7 @@ (define-module (guix utils)
|
||||||
#:use-module (ice-9 format)
|
#:use-module (ice-9 format)
|
||||||
#:use-module ((ice-9 iconv) #:prefix iconv:)
|
#:use-module ((ice-9 iconv) #:prefix iconv:)
|
||||||
#:use-module (system foreign)
|
#:use-module (system foreign)
|
||||||
#:re-export (memoize ;for backwards compatibility
|
#:re-export (<location> ;for backwards compatibility
|
||||||
|
|
||||||
<location>
|
|
||||||
location
|
location
|
||||||
location?
|
location?
|
||||||
location-file
|
location-file
|
||||||
|
|
|
@ -23,7 +23,6 @@ (define-module (test-pypi)
|
||||||
#:use-module (guix base32)
|
#:use-module (guix base32)
|
||||||
#:use-module (guix memoization)
|
#:use-module (guix memoization)
|
||||||
#:use-module (gcrypt hash)
|
#:use-module (gcrypt hash)
|
||||||
#:use-module (guix memoization)
|
|
||||||
#:use-module (guix tests)
|
#:use-module (guix tests)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module ((guix build utils) #:select (delete-file-recursively which mkdir-p))
|
#:use-module ((guix build utils) #:select (delete-file-recursively which mkdir-p))
|
||||||
|
|
Loading…
Reference in a new issue