@@ -44,7 +44,6 @@ import Linux.Arch.Aur
44
44
import Text.Printf (printf )
45
45
import Text.Regex.PCRE ((=~) )
46
46
47
- import Aura.Bash (namespace , Namespace )
48
47
import Aura.Colour.Text
49
48
import Aura.Core
50
49
import Aura.Install (InstallOptions (.. ))
@@ -118,11 +117,10 @@ aurPkgInfo (fmap T.pack -> pkgs) = aurInfo pkgs >>= traverse_ displayAurPkgInfo
118
117
displayAurPkgInfo :: AurInfo -> Aura ()
119
118
displayAurPkgInfo ai = ask >>= \ ss -> do
120
119
let name = T. unpack $ aurNameOf ai
121
- ns <- fromJust <$> pkgbuild (managerOf ss) name >>= namespace name . T. unpack
122
- liftIO $ putStrLn $ renderAurPkgInfo ss ai ns <> " \n "
120
+ liftIO $ putStrLn $ renderAurPkgInfo ss ai <> " \n "
123
121
124
- renderAurPkgInfo :: Settings -> AurInfo -> Namespace -> String
125
- renderAurPkgInfo ss ai ns = entrify ss fields entries
122
+ renderAurPkgInfo :: Settings -> AurInfo -> String
123
+ renderAurPkgInfo ss ai = entrify ss fields entries
126
124
where fields = fmap bForeground . infoFields . langOf $ ss
127
125
empty x = case x of [] -> " None" ; _ -> x
128
126
entries = [ magenta " aur"
@@ -133,8 +131,8 @@ renderAurPkgInfo ss ai ns = entrify ss fields entries
133
131
, cyan $ maybe " (null)" T. unpack (urlOf ai)
134
132
, pkgUrl $ T. unpack $ aurNameOf ai
135
133
, T. unpack . T. unwords $ licenseOf ai
136
- , empty . unwords $ depends ns
137
- , empty . unwords $ makedepends ns
134
+ , T. unpack . T. unwords $ dependsOf ai
135
+ , T. unpack . T. unwords $ makeDepsOf ai
138
136
, yellow . show $ aurVotesOf ai
139
137
, yellow $ printf " %0.2f" (popularityOf ai)
140
138
, maybe " (null)" T. unpack (aurDescriptionOf ai) ]
0 commit comments