In other words: there are plenty of reasons to not stock a book that are not partisan or doctrinal. We don't expect public schools to pay for expensive medieval manuscripts, for example, or to stock books in languages that aren't represented in their district.
I don't see how pornographic bans wouldn't qualify as "doctrinal" though they are not particularly partisan.