Maybe I'm weird, but the only time I've ever look at an author's name when buying a book is to see if an author I already like has a new book out.
Did the subject/genre interest me? Yep, that's how I wound up in this section of the bookstore/library
Did the cover grab me? Yep. I'm a sucker for action scenes, whimsical covers, and/or wolves.
Did the back cover write-up catch my attention? Hmm, this is about X, and I love the blurb's writing ... let's look inside.
Did the first couple of pages get my attention? Yep ... off to the check out.
Return trip:
Hmm, I wonder if (author) has anything new out. Yes/No,
If no, then repeat phase one again.
Honestly, I don't give a damn whether it's a male author, female author, white author, black author, 4 fingered Lithuanian author, (although I admit, a Venusian author MIGHT catch my attention).
Write a good book in a subject I'm interested in and I'll buy it.
Ditto.
Not interested in, or influenced by, any of that stuff about the author. I'm either looking for a specific book or for something that catches my eye - be it the cover, blurb, or opening pages - that's all.