@@ -44,7 +44,6 @@ import Linux.Arch.Aur
4444import Text.Printf (printf )
4545import Text.Regex.PCRE ((=~) )
4646
47- import Aura.Bash (namespace , Namespace )
4847import Aura.Colour.Text
4948import Aura.Core
5049import Aura.Install (InstallOptions (.. ))
@@ -118,11 +117,10 @@ aurPkgInfo (fmap T.pack -> pkgs) = aurInfo pkgs >>= traverse_ displayAurPkgInfo
118117displayAurPkgInfo :: AurInfo -> Aura ()
119118displayAurPkgInfo ai = ask >>= \ ss -> do
120119 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 "
123121
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
126124 where fields = fmap bForeground . infoFields . langOf $ ss
127125 empty x = case x of [] -> " None" ; _ -> x
128126 entries = [ magenta " aur"
@@ -133,8 +131,8 @@ renderAurPkgInfo ss ai ns = entrify ss fields entries
133131 , cyan $ maybe " (null)" T. unpack (urlOf ai)
134132 , pkgUrl $ T. unpack $ aurNameOf ai
135133 , 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
138136 , yellow . show $ aurVotesOf ai
139137 , yellow $ printf " %0.2f" (popularityOf ai)
140138 , maybe " (null)" T. unpack (aurDescriptionOf ai) ]
0 commit comments